-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2032a5e
commit 864a2a6
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |