Skip to content

Commit 4879e4a

Browse files
utilForeverCopilot
andcommitted
ci: Run CUDA unit tests in CUDA workflows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bbfa3a4 commit 4879e4a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ubuntu-cuda.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
include:
1717
# Ubuntu 24.04 + gcc-12 + CUDA 12.6.3
18-
- name: "Ubuntu 24.04 + gcc-12 + CUDA 12.6.3 (Disable Test)"
18+
- name: "Ubuntu 24.04 + gcc-12 + CUDA 12.6.3"
1919
os: ubuntu-24.04
2020
cuda: "12.6.3"
2121
compiler: gcc
@@ -57,3 +57,5 @@ jobs:
5757
run: mkdir build && cd build && cmake -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release ..
5858
- name: Build
5959
run: cd build && make
60+
- name: Run CUDA Unit Test
61+
run: /home/runner/work/CubbyFlow/CubbyFlow/build/bin/CUDATests

.github/workflows/windows-cuda.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,6 @@ jobs:
8282
- name: Build
8383
shell: powershell
8484
run: MSBuild.exe "build\\${{ matrix.solution }}" /p:Configuration=Release
85+
- name: Run CUDA Unit Test
86+
shell: powershell
87+
run: /a/CubbyFlow/CubbyFlow/build/bin/Release/CUDATests.exe

0 commit comments

Comments
 (0)