From 864a2a6b2c64d6019925208ad4b29cf23c899554 Mon Sep 17 00:00:00 2001 From: Neil Kichler <96552378+neilkichler@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:43:40 +0200 Subject: [PATCH] Create linux_gpu_tests.yml --- .github/workflows/linux_gpu_tests.yml | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/linux_gpu_tests.yml diff --git a/.github/workflows/linux_gpu_tests.yml b/.github/workflows/linux_gpu_tests.yml new file mode 100644 index 0000000..8b62b38 --- /dev/null +++ b/.github/workflows/linux_gpu_tests.yml @@ -0,0 +1,39 @@ +name: Linux GPU + +on: + push: + branches: '*' + pull_request: + branches: '*' + +jobs: + build: + + runs-on: [self-hosted, Linux, GPU] + + steps: + - uses: actions/checkout@v4 + + - name: Display the path + run: echo $PATH + + - name: gpu info + run: nvidia-smi + + - name: nvidia compiler info + run: nvcc --version + + - name: setup cmake + run: cmake --preset linux-gcc-debug-sanitizer-ub-coverage + + - name: build + run: cmake --build --preset debug + + - name: run ctest + run: ctest --preset debug + + - name: run checks + run: | + ./tools/memcheck.sh ./build/tests/tests + ./tools/racecheck.sh ./build/tests/tests + ./tools/synccheck.sh ./build/tests/tests