Skip to content

Commit e3ea505

Browse files
authored
Add explicit 'OpenMP on macOS' check to ci.yaml (#146)
* Add 'install and check openmp' step on macOS * Small edit [ci skip]
1 parent 662c24b commit e3ea505

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
#- {os: macOS-latest}
17+
- {os: macOS-latest}
1818
- {os: ubuntu-latest}
1919

2020
runs-on: ${{ matrix.os }}
@@ -32,6 +32,10 @@ jobs:
3232
- name: Test
3333
run: ./run.sh run_tests
3434

35+
- name: Verify OpenMP on macOS
36+
if: ${{ matrix.os == 'macOS-latest' }}
37+
run: R CMD INSTALL . && Rscript -e 'RcppEigen::EigenNbThreads()'
38+
3539
- name: Coverage
3640
if: ${{ matrix.os == 'ubuntu-latest' }}
3741
env:

0 commit comments

Comments
 (0)