1 parent 3410497 commit 1db9e93Copy full SHA for 1db9e93
1 file changed
.github/workflows/windows-build.yml
@@ -127,7 +127,12 @@ jobs:
127
cat > compile_test.bat << EOF
128
@echo off
129
call "$VCVARS_WIN_PATH"
130
- cl /I..\\..\\include test_shared.cpp $LIB_NAME /Fe:test_shared.exe
+ set "INCLUDE_DIR=%GITHUB_WORKSPACE%\\include"
131
+ if not exist "%INCLUDE_DIR%" (
132
+ echo Include directory not found: %INCLUDE_DIR%
133
+ exit /b 1
134
+ )
135
+ cl /I"%INCLUDE_DIR%" test_shared.cpp $LIB_NAME /Fe:test_shared.exe
136
EOF
137
138
# Execute the batch file
0 commit comments