Skip to content

Commit

Permalink
Merge pull request #1548 from devitocodes/ci_docker_tweaks84
Browse files Browse the repository at this point in the history
docker publish tweaks
  • Loading branch information
rhodrin authored Jan 6, 2021
2 parents 24f2962 + e3c9312 commit a3cf364
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 a3cf364

Please sign in to comment.