Skip to content

should now remove the podman env #147

should now remove the podman env

should now remove the podman env #147

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
pull_request:
branches: [ "master" ]
workflow_dispatch:
# env:
# LAMINO_ALIGN_DATA_DIR: /local/ci_tests/pyxalign/
permissions:
contents: read
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: setup
run: |
source ~/.bashrc
echo $PYXALIGN_CI_TEST_DATA_DIR
export CUDA_VISIBLE_DEVICES=1
- name: Build container
run: |
podman images
podman build -t pyxalign-actions-runner-build .
podman rmi pyxalign-actions-runner-build
# Use something like this. I also need to update it to mount the data directory.
# podman run -it --rm --env DISPLAY --security-opt label=type:container_runtime_t --network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" --device nvidia.com/gpu=all pyxalign:latest bash