Fix BUILD_WITH_OPENMP being set to an incorrect value by default (#76) #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macos | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: '**.md' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: '**.md' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
OS: [macos-14] | |
runs-on: ${{ matrix.OS }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- run: brew install eigen libomp | |
- run: pip install numpy scipy pytest | |
- run: pip install . | |
env: | |
OpenMP_ROOT: /opt/homebrew/opt/libomp | |
- run: python -m pytest src/test/python_test.py -v |