From bb2b64f167d8b380d45642185fdef671f4aa1b3c Mon Sep 17 00:00:00 2001 From: David Declerck Date: Fri, 5 Jul 2024 11:41:40 +0200 Subject: [PATCH] Update MSVC CI --- .github/workflows/windows-msvc-bdb.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-msvc-bdb.yml b/.github/workflows/windows-msvc-bdb.yml index fb7d20d3a..18c4ed0ad 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,10 +145,14 @@ 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" - name: Upload testsuite.log