Skip to content

Convert main.yml CI into callable workflows #4612

Convert main.yml CI into callable workflows

Convert main.yml CI into callable workflows #4612

Workflow file for this run

name: hdf5 dev CI

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
# 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
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"