summaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 845fc68c7ae1a37bbf8f9aa6e971f1e17e37a7e4 (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
40
41
42
43
44
45
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.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')"

#  workflow-msys2-autotools:
#    name: "CMake msys2 Workflows"
#    uses: ./.github/workflows/msys2-auto.yml
#    with:
#        build_mode: "production"
#        build_option: "--enable-production"