mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
255ab716f2
* Enable mac tests * Add platform test workflows to examples
394 lines
11 KiB
JSON
394 lines
11 KiB
JSON
{
|
|
"version": 6,
|
|
"include": [
|
|
"config/cmake-presets/hidden-presets.json"
|
|
],
|
|
"configurePresets": [
|
|
{
|
|
"name": "ci-base-tgz",
|
|
"hidden": true,
|
|
"inherits": "ci-base",
|
|
"cacheVariables": {
|
|
"HDF5_ALLOW_EXTERNAL_SUPPORT": {"type": "STRING", "value": "TGZ"},
|
|
"TGZPATH": {"type": "PATH", "value": "${sourceParentDir}/temp"}
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-CompressionVars",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"ZLIB_PACKAGE_NAME": {"type": "STRING", "value": "zlib"},
|
|
"ZLIB_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/madler/zlib/releases/download/v1.3"},
|
|
"ZLIB_TGZ_NAME": {"type": "STRING", "value": "zlib-1.3.tar.gz"},
|
|
"LIBAEC_PACKAGE_NAME": {"type": "STRING", "value": "libaec"},
|
|
"LIBAEC_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/MathisRosenhauer/libaec/releases/download/v1.0.6"},
|
|
"LIBAEC_TGZ_NAME": {"type": "STRING", "value": "libaec-1.0.6.tar.gz"}
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdCompression",
|
|
"hidden": true,
|
|
"inherits": ["ci-base-tgz", "ci-CompressionVars"],
|
|
"cacheVariables": {
|
|
"HDF5_PACKAGE_EXTLIBS": "ON",
|
|
"ZLIB_USE_LOCALCONTENT": "OFF",
|
|
"LIBAEC_USE_LOCALCONTENT": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-base-plugins",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"PLUGIN_TGZ_NAME": {"type": "STRING", "value": "hdf5_plugins-master.tar.gz"},
|
|
"BSHUF_TGZ_NAME": {"type": "STRING", "value": "bitshuffle-0.5.1.tar.gz"},
|
|
"BSHUF_PACKAGE_NAME": {"type": "STRING", "value": "bshuf"},
|
|
"BLOSC_TGZ_NAME": {"type": "STRING", "value": "c-blosc-1.21.5.tar.gz"},
|
|
"BLOSC_PACKAGE_NAME": {"type": "STRING", "value": "blosc"},
|
|
"BLOSC_ZLIB_TGZ_NAME": {"type": "STRING", "value": "zlib-1.3.tar.gz"},
|
|
"BLOSC_ZLIB_PACKAGE_NAME": {"type": "STRING", "value": "zlib"},
|
|
"BZ2_TGZ_NAME": {"type": "STRING", "value": "bzip2-bzip2-1.0.8.tar.gz"},
|
|
"BZ2_PACKAGE_NAME": {"type": "STRING", "value": "bz2"},
|
|
"FPZIP_TGZ_NAME": {"type": "STRING", "value": "fpzip-1.3.0.tar.gz"},
|
|
"FPZIP_PACKAGE_NAME": {"type": "STRING", "value": "fpzip"},
|
|
"JPEG_TGZ_NAME": {"type": "STRING", "value": "jpegsrc.v9e.tar.gz"},
|
|
"JPEG_PACKAGE_NAME": {"type": "STRING", "value": "jpeg"},
|
|
"BUILD_LZ4_LIBRARY_SOURCE": "ON",
|
|
"LZ4_TGZ_NAME": {"type": "STRING", "value": "lz4-1.9.4.tar.gz"},
|
|
"LZ4_PACKAGE_NAME": {"type": "STRING", "value": "lz4"},
|
|
"LZF_TGZ_NAME": {"type": "STRING", "value": "liblzf-3.6.tar.gz"},
|
|
"LZF_PACKAGE_NAME": {"type": "STRING", "value": "lzf"},
|
|
"SZ_TGZ_NAME": {"type": "STRING", "value": "SZ-2.1.12.5.tar.gz"},
|
|
"SZ_PACKAGE_NAME": {"type": "STRING", "value": "SZ"},
|
|
"ZFP_TGZ_NAME": {"type": "STRING", "value": "zfp-1.0.0.tar.gz"},
|
|
"ZFP_PACKAGE_NAME": {"type": "STRING", "value": "zfp"},
|
|
"ZSTD_TGZ_NAME": {"type": "STRING", "value": "zstd-1.5.5.tar.gz"},
|
|
"ZSTD_PACKAGE_NAME": {"type": "STRING", "value": "zstd"}
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-PluginsVars",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"HDF5_ENABLE_PLUGIN_SUPPORT": "ON",
|
|
"H5PL_ALLOW_EXTERNAL_SUPPORT": {"type": "STRING", "value": "TGZ"},
|
|
"PLUGIN_PACKAGE_NAME": {"type": "STRING", "value": "pl"},
|
|
"PLUGIN_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/HDFGroup/hdf5_plugins/releases/download/snapshot"},
|
|
"PLUGIN_TGZ_NAME": {"type": "STRING", "value": "hdf5_plugins-master.tar.gz"}
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdPlugins",
|
|
"hidden": true,
|
|
"inherits": ["ci-base-plugins", "ci-PluginsVars", "ci-base-tgz"],
|
|
"cacheVariables": {
|
|
"PLUGIN_USE_LOCALCONTENT": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdExamples",
|
|
"hidden": true,
|
|
"inherits": ["ci-base", "ci-base-tgz"],
|
|
"cacheVariables": {
|
|
"HDF5_PACK_EXAMPLES": "ON",
|
|
"EXAMPLES_DOWNLOAD": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-S3",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"HDF5_ENABLE_ROS3_VFD": "ON",
|
|
"HDF5_ENABLE_HDFS": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdShar",
|
|
"hidden": true,
|
|
"inherits": ["ci-StdCompression", "ci-StdExamples", "ci-StdPlugins"],
|
|
"cacheVariables": {
|
|
"HDF_PACKAGE_NAMESPACE": {"type": "STRING", "value": "hdf5::"},
|
|
"HDF5_INSTALL_MOD_FORTRAN": "NO",
|
|
"HDF5_BUILD_GENERATORS": "ON",
|
|
"HDF5_ENABLE_ALL_WARNINGS": "ON",
|
|
"HDF5_MINGW_STATIC_GCC_LIBS": "ON",
|
|
"HDF_TEST_EXPRESS": "2"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdShar-MSVC",
|
|
"description": "MSVC Standard Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-x64-Release-MSVC",
|
|
"ci-CPP",
|
|
"ci-Java",
|
|
"ci-StdShar"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-MSVC-Fortran",
|
|
"description": "MSVC Standard Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-x64-Release-MSVC",
|
|
"ci-CPP",
|
|
"ci-Fortran",
|
|
"ci-Java",
|
|
"ci-StdShar"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Clang",
|
|
"description": "Clang Standard Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-x64-Release-Clang",
|
|
"ci-CPP",
|
|
"ci-Fortran",
|
|
"ci-Java",
|
|
"ci-StdShar"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC",
|
|
"description": "GNUC Standard Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-x64-Release-GNUC",
|
|
"ci-CPP",
|
|
"ci-Fortran",
|
|
"ci-Java",
|
|
"ci-StdShar"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC-S3",
|
|
"description": "GNUC S3 Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-StdShar-GNUC",
|
|
"ci-S3"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Intel",
|
|
"description": "Intel Standard Config for x64 (Release)",
|
|
"inherits": [
|
|
"ci-x64-Release-Intel",
|
|
"ci-CPP",
|
|
"ci-Fortran",
|
|
"ci-Java",
|
|
"ci-StdShar"
|
|
]
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "ci-StdShar-MSVC",
|
|
"description": "MSVC Standard Build for x64 (Release)",
|
|
"configurePreset": "ci-StdShar-MSVC",
|
|
"inherits": [
|
|
"ci-x64-Release-MSVC"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Clang",
|
|
"description": "Clang Standard Build for x64 (Release)",
|
|
"configurePreset": "ci-StdShar-Clang",
|
|
"inherits": [
|
|
"ci-x64-Release-Clang"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC",
|
|
"description": "GNUC Standard Build for x64 (Release)",
|
|
"configurePreset": "ci-StdShar-GNUC",
|
|
"verbose": true,
|
|
"inherits": [
|
|
"ci-x64-Release-GNUC"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC-S3",
|
|
"description": "GNUC S3 Build for x64 (Release)",
|
|
"configurePreset": "ci-StdShar-GNUC-S3",
|
|
"verbose": true,
|
|
"inherits": [
|
|
"ci-x64-Release-GNUC"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Intel",
|
|
"description": "Intel Standard Build for x64 (Release)",
|
|
"configurePreset": "ci-StdShar-Intel",
|
|
"verbose": true,
|
|
"inherits": [
|
|
"ci-x64-Release-Intel"
|
|
]
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "ci-StdShar-MSVC",
|
|
"configurePreset": "ci-StdShar-MSVC",
|
|
"inherits": [
|
|
"ci-x64-Release-MSVC"
|
|
],
|
|
"filter": {
|
|
"exclude": {
|
|
"name": "H5DUMP-tfloatsattrs"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Clang",
|
|
"configurePreset": "ci-StdShar-Clang",
|
|
"inherits": [
|
|
"ci-x64-Release-Clang"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-OSX-Clang",
|
|
"configurePreset": "ci-StdShar-Clang",
|
|
"inherits": [
|
|
"ci-x64-Release-Clang"
|
|
],
|
|
"execution": {
|
|
"noTestsAction": "error",
|
|
"timeout": 180,
|
|
"jobs": 2
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC",
|
|
"configurePreset": "ci-StdShar-GNUC",
|
|
"inherits": [
|
|
"ci-x64-Release-GNUC"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC-S3",
|
|
"configurePreset": "ci-StdShar-GNUC-S3",
|
|
"inherits": [
|
|
"ci-x64-Release-GNUC"
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-win-Intel",
|
|
"configurePreset": "ci-StdShar-Intel",
|
|
"inherits": [
|
|
"ci-x64-Release-Intel"
|
|
],
|
|
"filter": {
|
|
"exclude": {
|
|
"name": "H5DUMP-tfloatsattrs"
|
|
}
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Intel",
|
|
"configurePreset": "ci-StdShar-Intel",
|
|
"inherits": [
|
|
"ci-x64-Release-Intel"
|
|
]
|
|
}
|
|
],
|
|
"packagePresets": [
|
|
{
|
|
"name": "ci-StdShar-MSVC",
|
|
"configurePreset": "ci-StdShar-MSVC",
|
|
"inherits": "ci-x64-Release-MSVC"
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Clang",
|
|
"configurePreset": "ci-StdShar-Clang",
|
|
"inherits": "ci-x64-Release-Clang"
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC",
|
|
"configurePreset": "ci-StdShar-GNUC",
|
|
"inherits": "ci-x64-Release-GNUC"
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC-S3",
|
|
"configurePreset": "ci-StdShar-GNUC-S3",
|
|
"inherits": "ci-x64-Release-GNUC"
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Intel",
|
|
"configurePreset": "ci-StdShar-Intel",
|
|
"inherits": "ci-x64-Release-Intel"
|
|
}
|
|
],
|
|
"workflowPresets": [
|
|
{
|
|
"name": "ci-StdShar-MSVC",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-MSVC"},
|
|
{"type": "build", "name": "ci-StdShar-MSVC"},
|
|
{"type": "test", "name": "ci-StdShar-MSVC"},
|
|
{"type": "package", "name": "ci-StdShar-MSVC"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Clang",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-Clang"},
|
|
{"type": "build", "name": "ci-StdShar-Clang"},
|
|
{"type": "test", "name": "ci-StdShar-Clang"},
|
|
{"type": "package", "name": "ci-StdShar-Clang"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-OSX-Clang",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-Clang"},
|
|
{"type": "build", "name": "ci-StdShar-Clang"},
|
|
{"type": "test", "name": "ci-StdShar-OSX-Clang"},
|
|
{"type": "package", "name": "ci-StdShar-Clang"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-GNUC"},
|
|
{"type": "build", "name": "ci-StdShar-GNUC"},
|
|
{"type": "test", "name": "ci-StdShar-GNUC"},
|
|
{"type": "package", "name": "ci-StdShar-GNUC"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-GNUC-S3",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-GNUC-S3"},
|
|
{"type": "build", "name": "ci-StdShar-GNUC-S3"},
|
|
{"type": "test", "name": "ci-StdShar-GNUC-S3"},
|
|
{"type": "package", "name": "ci-StdShar-GNUC-S3"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-Intel",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-Intel"},
|
|
{"type": "build", "name": "ci-StdShar-Intel"},
|
|
{"type": "test", "name": "ci-StdShar-Intel"},
|
|
{"type": "package", "name": "ci-StdShar-Intel"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ci-StdShar-win-Intel",
|
|
"steps": [
|
|
{"type": "configure", "name": "ci-StdShar-Intel"},
|
|
{"type": "build", "name": "ci-StdShar-Intel"},
|
|
{"type": "test", "name": "ci-StdShar-win-Intel"},
|
|
{"type": "package", "name": "ci-StdShar-Intel"}
|
|
]
|
|
}
|
|
]
|
|
}
|