diff --git a/.github/workflows/windows-msvc-bdb.yml b/.github/workflows/windows-msvc-bdb.yml index fb7d20d3a..95976be27 100644 --- a/.github/workflows/windows-msvc-bdb.yml +++ b/.github/workflows/windows-msvc-bdb.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [ gc4 ] push: - branches: [ gc3_to_gc4 ] + branches: [ gc3_to_gc4, gc4 ] # manual run in actions tab - for all branches workflow_dispatch: @@ -145,12 +145,18 @@ jobs: continue-on-error: true shell: cmd run: | - set COB_CFLAGS=/I "%cd%" /I "%VCPKG_ROOT%\installed\x64-windows\include" + set COB_CFLAGS=/I "%cd%" /I "%cd%\build_windows" /I "%VCPKG_ROOT%\installed\x64-windows\include" set COB_LIBS=libcob-5.lib /LIBPATH:"%cd%\build_windows\x64\Release" + set PATH="%cd%\build_windows\x64\Release";"%cd%\bin";%PATH% + set COB_CONFIG_DIR=%cd%\config call "%VCVARS%" - cd tests + cd bin + cobc -x gcdiff.c + cd ..\tests bash -c "./testsuite || ./testsuite --recheck --verbose" +# cl gcdiff.c /I ..\build_windows /I ..\ ..\build_windows\x64\Release\libcob-5.lib + - name: Upload testsuite.log uses: actions/upload-artifact@v3 with: