Skip to content

Commit

Permalink
CI: Add runner without OpenMP to MSVC job.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Sep 8, 2023
1 parent eaa4684 commit f58bf25
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,23 @@ jobs:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
runs-on: windows-latest

name: msvc (${{ matrix.openmp }} OpenMP)

defaults:
run:
# Use bash as default shell
shell: bash -el {0}

strategy:
# Allow other runners in the matrix to continue if some fail
fail-fast: false

matrix:
openmp: [with, without]
include:
- openmp: without
openmp-cmake-flags: "-DNOPENMP=ON"

env:
CHERE_INVOKING: 1

Expand Down Expand Up @@ -592,6 +604,7 @@ jobs:
-DCMAKE_Fortran_COMPILER_LAUNCHER=${CCACHE} \
-DNFORTRAN=ON \
-DBLA_VENDOR="All" \
${{ matrix.openmp-cmake-flags }} \
..
echo "::endgroup::"
echo "::group::Build $lib"
Expand Down Expand Up @@ -630,6 +643,7 @@ jobs:
cmake \
-DCMAKE_PREFIX_PATH="C:/Miniconda/envs/test/Library;${GITHUB_WORKSPACE}/dependencies" \
-DBLA_VENDOR="All" \
${{ matrix.openmp-cmake-flags }} \
..
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Building example\n"
Expand Down

0 comments on commit f58bf25

Please sign in to comment.