Skip to content

Commit

Permalink
try using gcc in msys
Browse files Browse the repository at this point in the history
  • Loading branch information
rm5248 committed Nov 17, 2023
1 parent b54fb78 commit 7d9530d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/log4cxx-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
$Env:PATH += ";C:\msys64\usr\bin"
pacman --noconfirm -S zip
- name: 'run cmake'
- name: 'run cmake - msvc'
shell: pwsh
run: |
$THISDIR=Get-Location
Expand All @@ -77,6 +77,16 @@ jobs:
cmake -DLOG4CXX_TEST_PROGRAM_PATH=C:\msys64\usr\bin -DLOG4CXX_CHAR=wchar_t -DLOG4CXX_ENABLE_ODBC=on "-DCMAKE_TOOLCHAIN_FILE=$THISDIR/vcpkg/scripts/buildsystems/vcpkg.cmake" ..
cmake --build .
- name: 'run cmake - gcc'
shell: pwsh
run: |
$THISDIR=Get-Location
cd main
mkdir build-gcc
cd build-gcc
cmake -DCMAKE_C_COMPILER=C:\msys64\usr\bin\gcc -DDCMAKE_CXX_COMPILER=C:\msys64\usr\bin\g++ -DLOG4CXX_TEST_PROGRAM_PATH=C:\msys64\usr\bin -DLOG4CXX_CHAR=wchar_t -DLOG4CXX_ENABLE_ODBC=on "-DCMAKE_TOOLCHAIN_FILE=$THISDIR/vcpkg/scripts/buildsystems/vcpkg.cmake" ..
cmake --build .
- name: run unit tests
shell: pwsh
run: |
Expand Down

0 comments on commit 7d9530d

Please sign in to comment.