@@ -494,9 +494,22 @@ jobs:
494494
495495 cuda-test-sanitizer :
496496 if : github.repository == 'vortex-data/vortex'
497- name : " CUDA tests (sanitizer)"
497+ name : " CUDA tests (${{ matrix. sanitizer }} )"
498498 timeout-minutes : 30
499499 runs-on : runs-on=${{ github.run_id }}/runner=gpu/tag=cuda-test-sanitizer
500+ strategy :
501+ fail-fast : false
502+ matrix :
503+ include :
504+ - sanitizer : memcheck
505+ runner_flags : " --tool memcheck --leak-check=full --error-exitcode 1"
506+ # TODO(joe): try to re-enable racecheck, it is hanging in CI.
507+ # - sanitizer: racecheck
508+ # runner_flags: "--tool racecheck --error-exitcode 1"
509+ - sanitizer : synccheck
510+ runner_flags : " --tool synccheck --error-exitcode 1"
511+ - sanitizer : initcheck
512+ runner_flags : " --tool initcheck --error-exitcode 1"
500513 steps :
501514 - uses : runs-on/action@v2
502515 with :
@@ -510,22 +523,11 @@ jobs:
510523 - uses : ./.github/actions/setup-rust
511524 with :
512525 repo-token : ${{ secrets.GITHUB_TOKEN }}
513- - name : CUDA - memcheck
514- env :
515- CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER : compute-sanitizer --tool memcheck --leak-check=full --error-exitcode 1
516- run : cargo test --locked -p vortex-cuda --all-features --target x86_64-unknown-linux-gnu
517- # TODO(joe): try to re-enable, This is hanging in CI.
518- # - name: CUDA - racecheck
519- # env:
520- # CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: compute-sanitizer --tool racecheck --error-exitcode 1
521- # run: cargo test --locked -p vortex-cuda --all-features --target x86_64-unknown-linux-gnu
522- - name : CUDA - synccheck
523- env :
524- CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER : compute-sanitizer --tool synccheck --error-exitcode 1
525- run : cargo test --locked -p vortex-cuda --all-features --target x86_64-unknown-linux-gnu
526- - name : CUDA - initcheck
526+ - name : Build tests
527+ run : cargo test --locked -p vortex-cuda --all-features --target x86_64-unknown-linux-gnu --no-run
528+ - name : " CUDA - ${{ matrix.sanitizer }}"
527529 env :
528- CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER : compute-sanitizer --tool initcheck --error-exitcode 1
530+ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER : " compute-sanitizer ${{ matrix.runner_flags }} "
529531 run : cargo test --locked -p vortex-cuda --all-features --target x86_64-unknown-linux-gnu
530532
531533 cuda-test-cudf :
0 commit comments