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 bb2b64f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 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,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
Expand Down

0 comments on commit bb2b64f

Please sign in to comment.