summaryrefslogtreecommitdiffstats
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-18 02:34:42 (GMT)
committerGitHub <noreply@github.com>2023-09-18 02:34:42 (GMT)
commitc82f9a550b4577f1854ca0375fe2a38fee731eb4 (patch)
treee8350da5ff96ebc3871c7ba8baf6a59a63b4c835 /.github/workflows/cmake.yml
parent44a00ef876ad3e1922847e93feac57c479217fbe (diff)
downloadhdf5-c82f9a550b4577f1854ca0375fe2a38fee731eb4.zip
hdf5-c82f9a550b4577f1854ca0375fe2a38fee731eb4.tar.gz
hdf5-c82f9a550b4577f1854ca0375fe2a38fee731eb4.tar.bz2
Convert main.yml CI into callable workflows (#3529)
Diffstat (limited to '.github/workflows/cmake.yml')
-rw-r--r--.github/workflows/cmake.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
new file mode 100644
index 0000000..75180c0
--- /dev/null
+++ b/.github/workflows/cmake.yml
@@ -0,0 +1,46 @@
+name: hdf5 dev 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-debug-thread-cmake:
+ name: "CMake Debug Thread-Safety Workflows"
+ uses: ./.github/workflows/main-cmake.yml
+ with:
+ thread_safety: true
+ build_mode: "Debug"
+
+ call-release-thread-cmake:
+ name: "CMake Release Thread-Safety Workflows"
+ uses: ./.github/workflows/main-cmake.yml
+ with:
+ thread_safety: true
+ build_mode: "Release"
+
+ call-debug-cmake:
+ name: "CMake Debug Workflows"
+ uses: ./.github/workflows/main-cmake.yml
+ with:
+ thread_safety: false
+ build_mode: "Debug"
+
+ call-release-cmake:
+ name: "CMake Release Workflows"
+ uses: ./.github/workflows/main-cmake.yml
+ with:
+ thread_safety: false
+ build_mode: "Release"
+
+ call-release-cmake-intel:
+ name: "CMake Intel Workflows"
+ uses: ./.github/workflows/intel-cmake.yml
+ with:
+ build_mode: "Release"