mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Fix cygwin CI (#5203)
* use mingw generator * disable ninja * Disable ZFP and zstd because of C++ issue
This commit is contained in:
@@ -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}'
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user