Skip to content

Commit

Permalink
Update MSVC CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Jul 5, 2024
1 parent 7d3023f commit e5a6bd3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/windows-msvc-bdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e5a6bd3

Please sign in to comment.