diff --git a/.github/workflows/step_test.yaml b/.github/workflows/step_test.yaml index d0f2f6c..1d7763a 100644 --- a/.github/workflows/step_test.yaml +++ b/.github/workflows/step_test.yaml @@ -17,11 +17,14 @@ jobs: fail-fast: false matrix: toolchain: [ gcc, llvm, intel, windows, macos ] + openmp: [ ON, OFF ] include: - os: windows-latest toolchain: windows - os: macos-latest toolchain: macos + env: + WITH_OPENMP: ${{ matrix.openmp }} steps: - name: Enable msvc toolchain on windows uses: ilammy/msvc-dev-cmd@v1 diff --git a/cmake/CMakePresets-CI.json b/cmake/CMakePresets-CI.json index ceba312..86e547a 100644 --- a/cmake/CMakePresets-CI.json +++ b/cmake/CMakePresets-CI.json @@ -15,6 +15,10 @@ "GKLIB_TESTS": { "type": "BOOL", "value": true + }, + "GKLIB_OpenMP": { + "type": "BOOL", + "value": "$env{WITH_OPENMP}" } }, "errors": {