Skip to content

Commit

Permalink
set OMP=1 only for macos test
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed May 10, 2024
1 parent a956049 commit 9eca9ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ jobs:
strategy:
matrix:
os: ["ubuntu-22.04", "ubuntu-20.04", "macos-latest"]
ompsize: [1, 4]
exclude:
- os: "macos-latest"
ompsize: 4
fail-fast: false
env:
OMP_NUM_THREADS: ${{ matrix.ompsize }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -60,5 +66,3 @@ jobs:
working-directory: ${{runner.workspace}}/build
shell: bash
run: ctest -V
env:
OMP_NUM_THREADS: 1

0 comments on commit 9eca9ce

Please sign in to comment.