Skip to content

Commit a2d538e

Browse files
committed
- attempt to fix windows build
1 parent bbddd22 commit a2d538e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,18 @@ jobs:
301301
- name: "Config perftools build"
302302
working-directory: ".\\perftools\\source"
303303
run: |
304+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
304305
cmake -S . -B .\build -DOPENSSL_ROOT_DIR="$env:GITHUB_WORKSPACE\openssl" ${{ matrix.release.cmakeopts }}
305306
- name: "Build perftools"
306307
working-directory: ".\\perftools\\source"
307308
run: |
308-
cmake --build .\build --config Release
309+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
310+
cmake --build .\build --config Release
309311
- name: "Run perftools"
310312
working-directory: ".\\perftools\\source"
311313
run: |
312-
cmake --build .\build --config Release --target run -j 4
314+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
315+
cmake --build .\build --config Release --target run -j 4
313316
314317
macos:
315318
strategy:

0 commit comments

Comments
 (0)