From ba8e9224215fbd5bb36a3ab39d671259dc13ab84 Mon Sep 17 00:00:00 2001 From: Robert Middleton Date: Fri, 17 Nov 2023 22:11:05 -0500 Subject: [PATCH] try with explicit compiler --- .github/workflows/log4cxx-windows-gcc.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/log4cxx-windows-gcc.yml b/.github/workflows/log4cxx-windows-gcc.yml index 15d9b4bad..9351bff4d 100644 --- a/.github/workflows/log4cxx-windows-gcc.yml +++ b/.github/workflows/log4cxx-windows-gcc.yml @@ -56,7 +56,6 @@ jobs: id: runvcpkg shell: pwsh run: | - gcc --version cd vcpkg ./bootstrap-vcpkg.bat ./vcpkg install apr apr-util fmt --triplet=x64-mingw-dynamic @@ -75,7 +74,7 @@ jobs: cd main mkdir build cd build - 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 -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=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