Skip to content

Commit

Permalink
Update workflow with new configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pzehner committed Oct 22, 2024
1 parent 68ff199 commit a184717
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 a184717

Please sign in to comment.