Skip to content

Commit

Permalink
adapt linux workflow for the cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkichler authored Feb 8, 2025
1 parent ce0e948 commit e307896
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/linux_gpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,38 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Display the path
run: echo $PATH


- name: gpu info
run: nvidia-smi
run: nvidia-smi --query-gpu=index,name,memory.used,memory.total --format=csv

- name: nvidia compiler info
run: nvcc --version
run: |
module purge
module load CUDA/12.6.1
nvcc --version
- name: setup cmake
run: cmake --preset linux-gcc-debug-sanitizer-ub-coverage
run: |
module purge
module load GCC/13.3.0 CUDA/12.6.1 CMake Ninja
cmake --preset linux-gcc-debug-sanitizer-ub-coverage
- name: build
run: cmake --build --preset debug
run: |
module purge
module load GCC/13.3.0 CUDA/12.6.1
cmake --build --preset debug
- name: run ctest
run: ctest --preset debug
run: |
module purge
module load GCC/13.3.0 CUDA/12.6.1
ctest --preset debug
- name: run checks
run: |
module purge
module load GCC/13.3.0 CUDA/12.3.0
./tools/memcheck.sh ./build/tests/tests
./tools/racecheck.sh ./build/tests/tests
./tools/synccheck.sh ./build/tests/tests

0 comments on commit e307896

Please sign in to comment.