-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (33 loc) · 934 Bytes
/
wsl_gpu_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: WSL GPU
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: [self-hosted, Linux, WSL, 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: upload coverage reports to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: neilkichler/cumccormick
- name: run checks
run: |
./tools/memcheck.sh ./build/tests/tests
./tools/racecheck.sh ./build/tests/tests
./tools/synccheck.sh ./build/tests/tests