Skip to content

Commit

Permalink
installing requirements before building sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed Apr 30, 2021
1 parent 9cacc5f commit a0ccee8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ jobs:
- name: Setup CMake
uses: jwlawson/actions-setup-cmake@v1.8

- name: Install system dependencies macOS
if: runner.os == 'macOS'
run: |
brew install libomp
echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV
brew install eigen
echo "EIGEN=$(brew --prefix eigen)" >> $GITHUB_ENV
brew install gfortran
echo "GFORTRAN=$(brew --prefix gfortran)" >> $GITHUB_ENV
- name: Install system dependencies Linux
if: runner.os == 'Linux'
run: |
sudo apt-get install libomp-dev
sudo apt install libeigen3-dev
echo "Eigen3_DIR='/usr/include/eigen3'" >> $GITHUB_ENV
- name: Install requirements
run: |
pip install --user check-manifest twine
Expand Down

0 comments on commit a0ccee8

Please sign in to comment.