Skip to content

Commit

Permalink
ci: A few further tweaks to the docker publish workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodrin committed Jan 6, 2021
1 parent 24f2962 commit e3c9312
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
'devitocodes/devito:cpu-${{ github.event.release.tag_name }}'
deploy-docker-gpu:
runs-on: ubuntu-latest
runs-on: [self-hosted, gpu, docker]

steps:
- name: Checkout devito
Expand Down Expand Up @@ -124,3 +124,8 @@ jobs:
run: |
docker pull 'devitocodes/devito:${{ matrix.im-name }}'
docker run --gpus all --rm --name testrun 'devitocodes/devito:${{ matrix.im-name }}' pytest tests/test_gpu_openacc.py
# NOTE: Suitable for the time being but will need to modify when we switch runners
- name: Clean
run: |
docker system prune -a -f

0 comments on commit e3c9312

Please sign in to comment.