Skip to content

Commit 1ba74b3

Browse files
committed
Add GitHub action for OpenMP
Signed-off-by: Cristian Le <[email protected]>
1 parent 56e93c9 commit 1ba74b3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/step_test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
toolchain: [ gcc, llvm, intel, windows, macos ]
20+
openmp: [ ON, OFF ]
2021
include:
2122
- os: windows-latest
2223
toolchain: windows
2324
- os: macos-latest
2425
toolchain: macos
26+
env:
27+
WITH_OPENMP: ${{ matrix.openmp }}
2528
steps:
2629
- name: Enable msvc toolchain on windows
2730
uses: ilammy/msvc-dev-cmd@v1

cmake/CMakePresets-CI.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"GKLIB_TESTS": {
1616
"type": "BOOL",
1717
"value": true
18+
},
19+
"GKLIB_OpenMP": {
20+
"type": "BOOL",
21+
"value": "$env{WITH_OPENMP}"
1822
}
1923
},
2024
"errors": {

0 commit comments

Comments
 (0)