Skip to content

Commit 9fa77cc

Browse files
committed
ci : add call to vcvars64.bat in build.yml
1 parent b3e8aef commit 9fa77cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ jobs:
684684
- name: Configure CMake
685685
shell: cmd
686686
run: |
687+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
687688
set "CUDACXX=sccache %CUDA_PATH%\bin\nvcc.exe"
688689
cmake -S . -B ./build -A ${{ matrix.arch }} ^
689690
-DCMAKE_BUILD_TYPE=${{ matrix.build }} ^
@@ -704,6 +705,7 @@ jobs:
704705
- name: Build Project
705706
shell: cmd
706707
run: |
708+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
707709
cd ./build
708710
cmake --build . --config ${{ matrix.build }} -j %NUMBER_OF_PROCESSORS%
709711

0 commit comments

Comments
 (0)