Skip to content

Commit

Permalink
Create linux_gpu_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkichler authored Oct 14, 2024
1 parent 2032a5e commit 864a2a6
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/linux_gpu_tests.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 864a2a6

Please sign in to comment.