Skip to content

Commit

Permalink
fixing pytest error
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed May 1, 2021
1 parent 063f37a commit 8b566d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get install libomp-dev
sudo apt install libeigen3-dev
sudo apt-get install libeigen3-dev
echo "Eigen3_DIR='/usr/include/eigen3'" >> $GITHUB_ENV
- name: Install requirements
Expand Down Expand Up @@ -108,16 +108,18 @@ jobs:

- uses: joerick/cibuildwheel@v1.10.0
env:
CIBW_TEST_COMMAND: pytest
# Python 2.7 on Windows with workaround not supported by scikit-build
CIBW_SKIP: cp27-win*
CIBW_BUILD: cp38-${{ matrix.cibw-arch }}
CIBW_BEFORE_ALL: pip install pytest
CIBW_BEFORE_ALL_MACOS: |
brew install libomp && brew install eigen && brew install openblas
# echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV && \
# echo "EIGEN=$(brew --prefix eigen)" >> $GITHUB_ENV && \
# echo "OPENBLAS=$(brew --prefix openblas)" >> $GITHUB_ENV
CIBW_BEFORE_ALL_LINUX: |
sudo apt-get install libomp-dev && sudo apt install libeigen3-dev
apt-get install libomp-dev libeigen3-dev
# echo "EIGEN=/usr/include/eigen3" >> $GITHUB_ENV
CIBW_ENVIRONMENT_LINUX: "-DEigen3_DIR='/usr/include/eigen3/cmake'"
CIBW_ENVIRONMENT_MACOS: "-DEigen3_DIR='$(brew --prefix eigen)/cmake'"
Expand Down

0 comments on commit 8b566d3

Please sign in to comment.