Convert main.yml CI into callable workflows #4613
Workflow file for this run
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
name: hdf5 dev CI | ||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
branches: [ develop ] | ||
paths-ignore: | ||
- '.github/CODEOWNERS' | ||
- '.github/FUNDING.yml' | ||
- 'doc/**' | ||
- 'release_docs/**' | ||
- 'ACKNOWLEDGEMENTS' | ||
- 'COPYING**' | ||
- '**.md' | ||
# Using concurrency to cancel any in-progress job or run | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
permissions: | ||
contents: read | ||
# A workflow run is made up of one or more jobs that can run sequentially or | ||
# in parallel. We just have one job, but the matrix items defined below will | ||
# run in parallel. | ||
jobs: | ||
workflow-autotools: | ||
name: "Autotools Workflows" | ||
steps: | ||
- uses: ./.github/workflows/main-auto-spc.yml | ||
- uses: ./.github/workflows/main-auto-par.yml | ||
uses: ./.github/workflows/main-auto.yml | ||
Check failure on line 37 in .github/workflows/main.yml GitHub Actions / hdf5 dev CIInvalid workflow file
|
||
with: | ||
thread_safety: true | ||
build_mode: "debug" | ||
- uses: ./.github/workflows/main-auto.yml | ||
with: | ||
thread_safety: true | ||
build_mode: "production" | ||
- uses: ./.github/workflows/main-auto.yml | ||
with: | ||
thread_safety: false | ||
build_mode: "debug" | ||
- uses: ./.github/workflows/main-auto.yml | ||
with: | ||
thread_safety: false | ||
build_mode: "production" | ||
- uses: ./.github/workflows/intel-auto.yml | ||
with: | ||
build_mode: "production" | ||
workflow-cmake: | ||
name: "CMake Workflows" | ||
steps: | ||
- uses: ./.github/workflows/main-cmake.yml | ||
with: | ||
thread_safety: true | ||
build_mode: "Debug" | ||
- uses: ./.github/workflows/main-cmake.yml | ||
with: | ||
thread_safety: true | ||
build_mode: "Release" | ||
- uses: ./.github/workflows/main-cmake.yml | ||
with: | ||
thread_safety: false | ||
build_mode: "Debug" | ||
- uses: ./.github/workflows/main-cmake.yml | ||
with: | ||
thread_safety: false | ||
build_mode: "Release" | ||
- uses: ./.github/workflows/intel-cmake.yml | ||
with: | ||
build_mode: "Release" |