-
-
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 CI changes from 1.14 development (#4897)
- Loading branch information
Showing
13 changed files
with
935 additions
and
78 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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,12 @@ name: hdf5 1.14 daily build | |
# Triggers the workflow on a schedule or on demand | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
use_ignore: | ||
description: 'Ignore has_changes check' | ||
type: string | ||
required: false | ||
default: check | ||
schedule: | ||
- cron: "6 0 * * *" | ||
|
||
|
@@ -14,6 +20,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
outputs: | ||
hdf5-name: ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }} | ||
run-ignore: ${{ steps.getinputs.outputs.INPUTS_IGNORE }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -30,14 +37,31 @@ jobs: | |
|
||
- run: echo "hdf5 base name is ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }}." | ||
|
||
- name: Read inputs | ||
id: getinputs | ||
run: | | ||
echo "INPUTS_IGNORE=${{ inputs.use_ignore }}" >> $GITHUB_OUTPUT | ||
- run: echo "use_ignore is ${{ steps.getinputs.outputs.INPUTS_IGNORE }}." | ||
|
||
call-workflow-tarball: | ||
needs: [get-old-names] | ||
uses: ./.github/workflows/tarball.yml | ||
with: | ||
use_ignore: ${{ needs.get-old-names.outputs.run-ignore }} | ||
use_tag: snapshot-1.14 | ||
use_environ: snapshots | ||
|
||
call-workflow-c-script: | ||
needs: [get-old-names, call-workflow-tarball] | ||
uses: ./.github/workflows/cmake-script.yml | ||
with: | ||
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }} | ||
use_environ: snapshots | ||
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) }} | ||
|
||
call-workflow-ctest: | ||
needs: call-workflow-tarball | ||
needs: [get-old-names, call-workflow-tarball] | ||
uses: ./.github/workflows/cmake-ctest.yml | ||
with: | ||
preset_name: ci-StdShar | ||
|
@@ -54,17 +78,17 @@ jobs: | |
AZURE_ENDPOINT: ${{ secrets.AZURE_ENDPOINT }} | ||
AZURE_CODE_SIGNING_NAME: ${{ secrets.AZURE_CODE_SIGNING_NAME }} | ||
AZURE_CERT_PROFILE_NAME: ${{ secrets.AZURE_CERT_PROFILE_NAME }} | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) }} | ||
|
||
call-workflow-abi: | ||
needs: [call-workflow-tarball, call-workflow-ctest] | ||
needs: [get-old-names, call-workflow-tarball, call-workflow-ctest] | ||
uses: ./.github/workflows/abi-report.yml | ||
with: | ||
file_ref: '1.14.4.3' | ||
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }} | ||
use_tag: snapshot-1.14 | ||
use_environ: snapshots | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) }} | ||
|
||
call-workflow-release: | ||
needs: [get-old-names, call-workflow-tarball, call-workflow-ctest, call-workflow-abi] | ||
|
@@ -77,7 +101,7 @@ jobs: | |
file_sha: ${{ needs.call-workflow-tarball.outputs.file_sha }} | ||
use_tag: snapshot-1.14 | ||
use_environ: snapshots | ||
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} | ||
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) }} | ||
|
||
call-workflow-remove: | ||
needs: [get-old-names, call-workflow-tarball, call-workflow-ctest, call-workflow-abi, call-workflow-release] | ||
|
@@ -88,5 +112,5 @@ jobs: | |
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') && (needs.get-old-names.outputs.hdf5-name != needs.call-workflow-tarball.outputs.file_base) }} | ||
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) && (needs.get-old-names.outputs.hdf5-name != needs.call-workflow-tarball.outputs.file_base) }} | ||
|
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.