From b84a4910ffd634e5574fac9b1f2d3c3e319cf4d4 Mon Sep 17 00:00:00 2001 From: Thomas Kittelmann Date: Fri, 22 Nov 2024 15:25:26 +0100 Subject: [PATCH] CI: Work on windows workflows --- .github/workflows/basictest_win.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/basictest_win.yml b/.github/workflows/basictest_win.yml index 42d8a9c..4303054 100644 --- a/.github/workflows/basictest_win.yml +++ b/.github/workflows/basictest_win.yml @@ -97,16 +97,23 @@ jobs: nctool --pdf Al_sg225.ncmat if %errorlevel% neq 0 then exit /b %errorlevel% + - name: Fix path + run: echo "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64" >> $GITHUB_PATH + - name: Find cl.exe shell: cmd run: | + echo %PATH% echo "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" echo "try1 - echo "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64" >> $GITHUB_PATH + echo %PATH% cl /help cl.exe /help echo "try2" + echo %PATH% echo "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64" >> $GITHUB_PATH + echo %PATH% + echo %PATH% cl /help cl.exe /help