From cef9cf5b95c4095e432e6fcd22f5e5b5d1d958cc Mon Sep 17 00:00:00 2001 From: Paul Zehner Date: Wed, 23 Oct 2024 16:47:03 +0200 Subject: [PATCH] Update for new CI configuration (#177) * Add calls to run-gpu * Fix pull singularity step * Fix typo * Use upload/download-artifact v4 * Update workflow with new configuration --- .github/workflows/build_test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 6512a170..a2e7b5ff 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -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