diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-03-01 01:06:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 01:06:31 (GMT) |
commit | 197966eb9f46edfa4e837a3308a8fa776dd65014 (patch) | |
tree | fb5fd8885f4d1d14b2da3382366ea7671c12a3dd /.github/workflows | |
parent | d8fd9c2f79ad0aceb0b55b33b7480a4063b8cf08 (diff) | |
download | hdf5-197966eb9f46edfa4e837a3308a8fa776dd65014.zip hdf5-197966eb9f46edfa4e837a3308a8fa776dd65014.tar.gz hdf5-197966eb9f46edfa4e837a3308a8fa776dd65014.tar.bz2 |
1.14 Add fetchcontent for compression libs and fix cmake config #2487 (#2492)
* Add fetchcontent for compression libs and fix cmake config #2487
* Update cmake doc for FetchContent
* Add CI test for FetchContent
* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/codespell.yml | 2 | ||||
-rw-r--r-- | .github/workflows/main.yml | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 74f193a..db20884 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -12,4 +12,4 @@ jobs: - uses: codespell-project/actions-codespell@master with: skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./tools/test/h5repack/testfiles/*.dat - ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce + ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce,msdos diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 05121f7..ece39c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,6 +73,8 @@ jobs: cpp: ON fortran: OFF java: ON + libaecfc: ON + zlibfc: ON parallel: OFF mirror_vfd: OFF direct_vfd: OFF @@ -88,6 +90,8 @@ jobs: cpp: ON fortran: ON java: ON + libaecfc: ON + zlibfc: ON parallel: OFF mirror_vfd: ON direct_vfd: ON @@ -143,6 +147,8 @@ jobs: cpp: ON fortran: OFF java: ON + libaecfc: ON + zlibfc: ON parallel: OFF mirror_vfd: ON direct_vfd: OFF @@ -405,7 +411,7 @@ jobs: run: | mkdir "${{ runner.workspace }}/build" cd "${{ runner.workspace }}/build" - cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_mode.cmake }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DHDF5_ENABLE_MIRROR_VFD:BOOL=${{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE + cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_mode.cmake }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DBUILD_SZIP_WITH_FETCHCONTENT=${{ matrix.libaecfc }} -DBUILD_ZLIB_WITH_FETCHCONTENT=${{ matrix.zlibfc }} -DHDF5_ENABLE_MIRROR_VFD:BOOL=${{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE shell: bash if: (matrix.generator != 'autogen') && (! matrix.thread_safe.enabled) |