Skip to content

Commit

Permalink
Update for new CI configuration (#177)
Browse files Browse the repository at this point in the history
* Add calls to run-gpu

* Fix pull singularity step

* Fix typo

* Use upload/download-artifact v4

* Update workflow with new configuration
  • Loading branch information
pzehner authored Oct 23, 2024
1 parent d77b943 commit cef9cf5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,15 @@ jobs:
- name: Pull Singularity image
# pulling the image in advance seems necessary as sometimes invoking `singularity run` on the image URL fails because it cannot find ghcr.io
run: |
run-cpu \
run \
-m "singularity/3.8.3/gcc-11.2.0" \
singularity pull oras://ghcr.io/kokkos/kokkos-fft/base_${{ matrix.backend.image }}_singularity_${{ needs.check_docker_files.outputs.image_suffix }}:${{ needs.check_docker_files.outputs.image_tag }}
if: ${{ matrix.backend.name == 'cuda' }}

- name: Run CUDA tests within Slurm job and Singularity image
run: |
run-gpu \
run \
-g a100 \
-m "singularity/3.8.3/gcc-11.2.0" \
singularity run --nv --bind $PWD/build:/work/build -H /work/build base_${{ matrix.backend.image }}_singularity_${{ needs.check_docker_files.outputs.image_suffix }}_${{ needs.check_docker_files.outputs.image_tag }}.sif \
ctest --output-on-failure
Expand Down

0 comments on commit cef9cf5

Please sign in to comment.