-
-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4025 from lrknox/1_14_dev_sync3_lrk
Sync more develop changes to hdf5_1_14
- Loading branch information
Showing
21 changed files
with
322 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,26 @@ permissions: | |
# A workflow run is made up of one or more jobs that can run sequentially or | ||
# in parallel. | ||
jobs: | ||
get-old-names: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
hdf5-name: ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Get hdf5 release base name | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
version: 'tags/snapshot-1.14' | ||
file: 'last-file.txt' | ||
|
||
- name: Read base-name file | ||
id: gethdf5base | ||
run: echo "HDF5_NAME_BASE=$(cat last-file.txt)" >> $GITHUB_OUTPUT | ||
|
||
- run: echo "hdf5 base name is ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }}." | ||
|
||
call-workflow-tarball: | ||
uses: ./.github/workflows/tarball.yml | ||
with: | ||
|
@@ -23,6 +43,7 @@ jobs: | |
uses: ./.github/workflows/cmake-ctest.yml | ||
with: | ||
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }} | ||
preset_name: ci-StdShar | ||
#use_tag: snapshot-1.14 | ||
#use_environ: snapshots | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
|
@@ -50,3 +71,14 @@ jobs: | |
use_environ: snapshots | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
|
||
call-workflow-remove: | ||
needs: [get-old-names, call-workflow-tarball, call-workflow-ctest, call-workflow-abi, call-workflow-release] | ||
permissions: | ||
contents: write # In order to allow file deletion | ||
uses: ./.github/workflows/remove-files.yml | ||
with: | ||
file_base: ${{ needs.get-old-names.outputs.hdf5-name }} | ||
use_tag: snapshot-1.14 | ||
use_environ: snapshots | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
|
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,60 @@ | ||
name: hdf5 dev remove-files | ||
|
||
# Controls when the action will run. Triggers the workflow on a schedule | ||
on: | ||
workflow_call: | ||
inputs: | ||
use_tag: | ||
description: 'Release version tag' | ||
type: string | ||
required: false | ||
default: snapshot | ||
use_environ: | ||
description: 'Environment to locate files' | ||
type: string | ||
required: true | ||
default: snapshots | ||
file_base: | ||
description: "The common base name of the source tarballs" | ||
required: true | ||
type: string | ||
|
||
# Minimal permissions to be inherited by any job that doesn't declare its own permissions | ||
permissions: | ||
contents: read | ||
|
||
# Previous workflows must pass to get here so tag the commit that created the files | ||
jobs: | ||
PreRelease-delfiles: | ||
runs-on: ubuntu-latest | ||
environment: ${{ inputs.use_environ }} | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Get file base name | ||
id: get-file-base | ||
run: | | ||
FILE_NAME_BASE=$(echo "${{ inputs.file_base }}") | ||
echo "FILE_BASE=$FILE_NAME_BASE" >> $GITHUB_OUTPUT | ||
- name: PreRelease delete from tag | ||
id: delete_prerelease | ||
if: ${{ (inputs.use_environ == 'snapshots') }} | ||
uses: mknejp/delete-release-assets@v1 | ||
with: | ||
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 }}.doxygen.zip | ||
${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz | ||
${{ steps.get-file-base.outputs.FILE_BASE }}.zip | ||
${{ steps.get-file-base.outputs.FILE_BASE }}-osx12.tar.gz | ||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz | ||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz | ||
${{ 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 |
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
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
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.