summaryrefslogtreecommitdiffstats
path: root/.github/workflows/cmake.yml
blob: cca783ab762a92b5a2d481129588ee2011a2570c (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: hdf5 1.14 cmake CI

# Controls when the action will run. Triggers the workflow on push or pull request
on:
  workflow_call:

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:
    call-workflow-special-cmake:
      name: "CMake Special Workflows"
      uses: ./.github/workflows/main-cmake-spc.yml

    call-debug-thread-cmake:
        name: "CMake Debug Thread-Safety Workflows"
        uses: ./.github/workflows/main-cmake.yml
        with:
            thread_safety: "TS"
            build_mode: "Debug"

    call-release-thread-cmake:
        name: "CMake Release Thread-Safety Workflows"
        uses: ./.github/workflows/main-cmake.yml
        with:
            thread_safety: "TS"
            build_mode: "Release"

    call-debug-cmake:
        name: "CMake Debug Workflows"
        uses: ./.github/workflows/main-cmake.yml
        with:
            thread_safety: ""
            build_mode: "Debug"

    call-release-cmake:
        name: "CMake Release Workflows"
        uses: ./.github/workflows/main-cmake.yml
        with:
            thread_safety: ""
            build_mode: "Release"

    call-release-bintest:
        name: "CMake Test Release Binaries"
        needs: call-release-cmake
        uses: ./.github/workflows/cmake-bintest.yml
        with:
            build_mode: "Release"

    call-release-par:
        name: "CMake Parallel Release Workflows"
        uses: ./.github/workflows/main-cmake-par.yml
        with:
            build_mode: "Release"

    call-debug-par:
        name: "CMake Parallel Debug Workflows"
        uses: ./.github/workflows/main-cmake-par.yml
        with:
            build_mode: "Debug"

    call-release-cmake-intel:
        name: "CMake Intel Workflows"
        uses: ./.github/workflows/intel-cmake.yml
        with:
            build_mode: "Release"

    call-release-cmake-nvhpc:
        name: "CMake nvhpc Workflows"
        uses: ./.github/workflows/nvhpc-cmake.yml
        with:
            build_mode: "Release"