Skip to content

Commit

Permalink
Use new run syntax in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pzehner committed Jan 29, 2025
1 parent ccdedaa commit 18b8728
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ jobs:
run: |
run \
-m "singularity/3.8.3/gcc-11.2.0" \
-e local \
"echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ github.actor }} --password-stdin oras://ghcr.io"
if: ${{ matrix.backend.use_singularity }}

Expand All @@ -370,14 +371,16 @@ jobs:
run: |
run \
-m "singularity/3.8.3/gcc-11.2.0" \
-e local \
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.use_singularity }}

- name: Run CUDA tests within Slurm job and Singularity image
run: |
run \
-g a100 \
-m "singularity/3.8.3/gcc-11.2.0" \
-e gpu \
-g a100 \
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
if: ${{ matrix.backend.use_singularity }}
Expand Down

0 comments on commit 18b8728

Please sign in to comment.