summaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 7e9805a8c24eec849d5ff500e1af6fe2d8dd289d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: hdf5 1.14 CI

# Controls when the action will run. Triggers the workflow on push or pull request
on:
  workflow_dispatch:
  push:
  pull_request:
    branches: [ hdf5_1_14 ]
    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.head_ref && github.ref || github.run_id }}
  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"
    uses: ./.github/workflows/autotools.yml
    if: "!contains(github.event.head_commit.message, 'skip-ci')"

  workflow-cmake:
    name: "CMake Workflows"
    uses: ./.github/workflows/cmake.yml
    if: "!contains(github.event.head_commit.message, 'skip-ci')"