Fix cygwin CI (#5203)

* use mingw generator
* disable ninja
* Disable ZFP and zstd because of C++ issue
This commit is contained in:
Allen Byrne
2025-01-03 09:59:24 -06:00
committed by GitHub
parent c0192e2361
commit 85bef9d1a7
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -104,6 +104,8 @@ jobs:
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLIBAEC_USE_LOCALCONTENT:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DZLIB_USE_LOCALCONTENT:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DPLUGIN_USE_LOCALCONTENT:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DENABLE_ZFP:BOOL=OFF")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DENABLE_ZSTD:BOOL=OFF")
- name: Run ctest (Cygwin)
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
+1 -1
View File
@@ -180,7 +180,7 @@ if (NOT DEFINED HPC)
if (DEFINED NINJA)
set (CTEST_CMAKE_GENERATOR "Ninja")
else ()
if (MINGW)
if (BUILD_GENERATOR STREQUAL "MINGW")
set (CTEST_CMAKE_GENERATOR "MinGW Makefiles")
else ()
set (CTEST_CMAKE_GENERATOR "Unix Makefiles")