diff options
-rw-r--r-- | .github/workflows/abi-report.yml | 20 | ||||
-rw-r--r-- | .github/workflows/release-files.yml | 42 | ||||
-rw-r--r-- | .github/workflows/release.yml | 7 | ||||
-rw-r--r-- | .github/workflows/remove-files.yml | 5 | ||||
-rw-r--r-- | .github/workflows/tarball.yml | 7 | ||||
-rw-r--r-- | config/cmake-presets/hidden-presets.json | 2 |
6 files changed, 64 insertions, 19 deletions
diff --git a/.github/workflows/abi-report.yml b/.github/workflows/abi-report.yml index e5dded8..38cb382 100644 --- a/.github/workflows/abi-report.yml +++ b/.github/workflows/abi-report.yml @@ -73,7 +73,7 @@ jobs: run: | HDF5DIR=${{ github.workspace }}/hdf5/HDF_Group/HDF5/ FILE_NAME_HDF5=$(ls ${{ github.workspace }}/hdf5/HDF_Group/HDF5) - FILE_VERS=$(echo "$FILE_NAME_HDF5" | sed -r "s/([0-9]+\.[0-9]+\.[0-9]+)\..*/\1/") + FILE_VERS=$(echo "$FILE_NAME_HDF5" | sed -r "s/([0-9]+\.[0-9]+\.[0-9]+).*/\1/") echo "HDF5_ROOT=$HDF5DIR$FILE_NAME_HDF5" >> $GITHUB_OUTPUT echo "HDF5_VERS=$FILE_VERS" >> $GITHUB_OUTPUT @@ -160,12 +160,22 @@ jobs: ls -l compat_reports ls -l *.html + - name: Publish ABI reports + id: publish-abi-reports + run: | + mkdir "${{ runner.workspace }}/buildabi" + mkdir "${{ runner.workspace }}/buildabi/hdf5" + cp ${{ inputs.file_base }}-hdf5_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-hdf5_hl_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-hdf5_cpp_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cp ${{ inputs.file_base }}-java_compat_report.html ${{ runner.workspace }}/buildabi/hdf5 + cd "${{ runner.workspace }}/buildabi" + tar -zcvf ${{ inputs.file_base }}.html.abi.reports hdf5 + shell: bash + - name: Save output as artifact uses: actions/upload-artifact@v4 with: name: abi-reports path: | - ${{ inputs.file_base }}-hdf5_compat_report.html - ${{ inputs.file_base }}-hdf5_hl_compat_report.html - ${{ inputs.file_base }}-hdf5_cpp_compat_report.html - ${{ inputs.file_base }}-java_compat_report.html + ${{ runner.workspace }}/buildabi/${{ inputs.file_base }}.html.abi.reports diff --git a/.github/workflows/release-files.yml b/.github/workflows/release-files.yml index c4fc11f..699bb7d 100644 --- a/.github/workflows/release-files.yml +++ b/.github/workflows/release-files.yml @@ -150,10 +150,37 @@ jobs: name: abi-reports path: ${{ github.workspace }} + - name: Create sha256 sums for files + run: | + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip > sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.zip >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-osx12.tar.gz >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip >> sha256sums.txt + sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports >> sha256sums.txt + - name: Store snapshot name run: | echo "${{ steps.get-file-base.outputs.FILE_BASE }}" > ./last-file.txt + - name: Get NEWSLETTER + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1 + with: + name: NEWSLETTER + path: ${{ github.workspace }} + + - name: Create description file + run: | + cat ${{ github.workspace }}/NEWSLETTER.txt > description.txt + echo "SHA256 sums:" >> description.txt + cat sha256sums.txt >> description.txt + - name: PreRelease tag id: create_prerelease if: ${{ (inputs.use_environ == 'snapshots') }} @@ -161,12 +188,9 @@ jobs: with: tag_name: "${{ inputs.use_tag }}" prerelease: true + body_path: description.txt files: | last-file.txt - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_hl_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_cpp_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-java_compat_report.html ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}.zip @@ -178,6 +202,8 @@ jobs: ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip + ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports + sha256sums.txt if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` - name: Release tag @@ -187,12 +213,8 @@ jobs: with: tag_name: "${{ inputs.use_tag }}" prerelease: false - #body_path: ${{ github.workspace }}-CHANGELOG.txt + body_path: description.txt files: | - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_hl_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_cpp_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-java_compat_report.html ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}.zip @@ -204,6 +226,8 @@ jobs: ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip + ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports + sha256sums.txt if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` - name: List files for the space (Linux) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b97417..07e3f40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,13 @@ jobs: path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + - name: Save NEWSLETTER + uses: actions/upload-artifact@v4 + with: + name: NEWSLETTER + path: ./hdfsrc/release_docs/NEWSLETTER.txt + if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + call-workflow-ctest: needs: create-files-ctest uses: ./.github/workflows/cmake-ctest.yml diff --git a/.github/workflows/remove-files.yml b/.github/workflows/remove-files.yml index 737c9b4..edac115 100644 --- a/.github/workflows/remove-files.yml +++ b/.github/workflows/remove-files.yml @@ -45,10 +45,7 @@ jobs: token: ${{ github.token }} tag: "${{ inputs.use_tag }}" assets: | - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_hl_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-hdf5_cpp_compat_report.html - ${{ steps.get-file-base.outputs.FILE_BASE }}-java_compat_report.html + ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}.zip diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index b52adf1..a721e1d 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -145,3 +145,10 @@ jobs: name: zip-tarball path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + + - name: Save NEWSLETTER + uses: actions/upload-artifact@v4 + with: + name: NEWSLETTER + path: ./hdfsrc/release_docs/NEWSLETTER.txt + if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` diff --git a/config/cmake-presets/hidden-presets.json b/config/cmake-presets/hidden-presets.json index 82565a6..d4e52ca 100644 --- a/config/cmake-presets/hidden-presets.json +++ b/config/cmake-presets/hidden-presets.json @@ -540,7 +540,7 @@ "name": "ci-x64-Release-Intel", "configurePreset": "ci-x64-Release-Intel", "hidden": true, - "inherits": "ci-base", + "inherits": "ci-base" } ] } |