Skip to content

Commit 626c711

Browse files
Update build.yml
1 parent aa4143f commit 626c711

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ jobs:
9494
- name: Compile CUDA program
9595
shell: cmd
9696
run: |
97-
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
98-
nvcc -arch=sm_52 -I "%CUDA_PATH%\include" -o mastermind_cuda_windows.exe kernel.cu
97+
nvcc -allow-unsupported-compiler -arch=sm_52 ^
98+
-I "%CUDA_PATH%\include" ^
99+
-o mastermind_cuda_windows.exe ^
100+
kernel.cu
99101
100102
- name: Compile C++ programs
101103
run: |

0 commit comments

Comments
 (0)