Skip to content

Commit

Permalink
change to ubuntu container
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 13, 2024
1 parent eeda2ad commit e6db490
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gh-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,13 @@ jobs:
contents: read # This is required for actions/checkout
runs-on: ${{ (inputs.host-platform == 'linux-x64' && 'linux-amd64-gpu-v100-latest-1') ||
(inputs.host-platform == 'linux-aarch64' && 'linux-arm64-gpu-a100-latest-1') }}
# # TODO: use a different (nvidia?) container, or just run on bare image
# container:
# options: -u root --security-opt seccomp=unconfined --privileged --shm-size 16g
# image: condaforge/miniforge3:latest
# env:
# NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
# Our self-hosted runners require a container
# TODO: use a different (nvidia?) container
container:
options: -u root --security-opt seccomp=unconfined --privileged --shm-size 16g
image: ubuntu:20.04
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
needs:
- build
steps:
Expand Down

0 comments on commit e6db490

Please sign in to comment.