-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync develop changes April 1 - April 3 to hdf5_1_14 (#4316)
* Fix divide-by-zero when page buf page size is 0 (#4296) If a corrupt file sets the page buffer size in the superblock to zero, the library could attempt to divide by zero when allocating space in the file. The library now checks for valid page buffer sizes when reading the superblock message. Fixes oss-fuzz issue 58762 * Fix typo - Cnversion (#4301) * Bump the github-actions group with 3 updates (#4300) Bumps the github-actions group with 3 updates: [actions/download-artifact](https://github.com/actions/download-artifact), [softprops/action-gh-release](https://github.com/softprops/action-gh-release) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/download-artifact` from 4.1.1 to 4.1.4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4.1.1...c850b93) Updates `softprops/action-gh-release` from 1 to 2 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@de2c0eb...9d7c94c) Updates `github/codeql-action` from 3.24.6 to 3.24.9 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@8a470fd...1b1aada) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix typo - glueing (#4299) * Prepend MPI_TEST_ to parallel example test names (#4306) * Report build options of VFDs (#4304) * changed to if string contains instead * return status of VFDs in libhdf5.settings * use *_ENABLE_* settings instead to report the state * added map state * updated resetting status if cmake option fails * PR merge workflows (#4303) * Merge the Test Express workflows into the PR CI * Split merge request triggers into autotools vs cmake * Fix typo - differetly (#4311) * Fix README badges (#4313) * Remove old wait_H5Tinit.cmake file (#4314) * Update branch names: develop=>hdf5_1_14 in 2 new workflows merged from develop.
- Loading branch information
Showing
20 changed files
with
239 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: hdf5 TestExpress Autotools CI | ||
|
||
on: | ||
workflow_call: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_and_test: | ||
strategy: | ||
matrix: | ||
build_mode: ["production", "debug"] | ||
include: | ||
- build_mode: "production" | ||
- build_mode: "debug" | ||
|
||
name: "Autotools ${{ matrix.build_mode }} Express Test Workflows" | ||
|
||
# Don't run the action if the commit message says to skip CI | ||
if: "!contains(github.event.head_commit.message, 'skip-ci')" | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Linux Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ninja-build doxygen graphviz | ||
sudo apt install libssl3 libssl-dev libcurl4 libcurl4-openssl-dev | ||
sudo apt install gcc-12 g++-12 gfortran-12 | ||
sudo apt install automake autoconf libtool libtool-bin | ||
sudo apt install libaec0 libaec-dev | ||
echo "CC=gcc-12" >> $GITHUB_ENV | ||
echo "CXX=g++-12" >> $GITHUB_ENV | ||
echo "FC=gfortran-12" >> $GITHUB_ENV | ||
- name: Get Sources | ||
uses: actions/[email protected] | ||
|
||
- name: Autotools Configure | ||
shell: bash | ||
run: | | ||
sh ./autogen.sh | ||
mkdir "${{ runner.workspace }}/build" | ||
cd "${{ runner.workspace }}/build" | ||
$GITHUB_WORKSPACE/configure \ | ||
--enable-build-mode=${{ matrix.build_mode }} \ | ||
--enable-shared \ | ||
--disable-parallel \ | ||
--disable-cxx \ | ||
--disable-fortran \ | ||
--disable-java \ | ||
--with-szlib=yes | ||
- name: Autotools Build | ||
shell: bash | ||
run: | | ||
make -j3 | ||
working-directory: ${{ runner.workspace }}/build | ||
|
||
- name: Autotools Test | ||
shell: bash | ||
env: | ||
HDF5TestExpress: 0 | ||
run: | | ||
cd test | ||
make -j3 check | ||
working-directory: ${{ runner.workspace }}/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: hdf5 TestExpress CMake CI | ||
|
||
on: | ||
workflow_call: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_and_test: | ||
strategy: | ||
matrix: | ||
build_mode: ["Release", "Debug"] | ||
include: | ||
- build_mode: "Release" | ||
- build_mode: "Debug" | ||
|
||
name: "CMake ${{ matrix.build_mode }} Express Test Workflows" | ||
|
||
# Don't run the action if the commit message says to skip CI | ||
if: "!contains(github.event.head_commit.message, 'skip-ci')" | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Linux Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ninja-build doxygen graphviz | ||
sudo apt install libssl3 libssl-dev libcurl4 libcurl4-openssl-dev | ||
sudo apt install libaec0 libaec-dev | ||
sudo apt install gcc-12 g++-12 gfortran-12 | ||
echo "CC=gcc-12" >> $GITHUB_ENV | ||
echo "CXX=g++-12" >> $GITHUB_ENV | ||
echo "FC=gfortran-12" >> $GITHUB_ENV | ||
- name: Get Sources | ||
uses: actions/[email protected] | ||
|
||
- name: CMake Configure | ||
shell: bash | ||
run: | | ||
mkdir "${{ runner.workspace }}/build" | ||
cd "${{ runner.workspace }}/build" | ||
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \ | ||
-G Ninja \ | ||
-DCMAKE_BUILD_TYPE=${{ matrix.build_mode }} \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DHDF5_ENABLE_ALL_WARNINGS=ON \ | ||
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \ | ||
-DHDF5_BUILD_CPP_LIB:BOOL=OFF \ | ||
-DHDF5_BUILD_FORTRAN=OFF \ | ||
-DHDF5_BUILD_JAVA=OFF \ | ||
-DHDF5_BUILD_DOC=OFF \ | ||
-DLIBAEC_USE_LOCALCONTENT=OFF \ | ||
-DZLIB_USE_LOCALCONTENT=OFF \ | ||
-DHDF_TEST_EXPRESS=0 \ | ||
$GITHUB_WORKSPACE | ||
- name: CMake Build | ||
run: cmake --build . --parallel 3 --config ${{ matrix.build_mode }} | ||
working-directory: ${{ runner.workspace }}/build | ||
|
||
- name: CMake Run Tests | ||
run: ctest . --parallel 2 -C ${{ matrix.build_mode }} -V -R H5TESTXPR | ||
working-directory: ${{ runner.workspace }}/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.