Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
arnaudon authored Feb 11, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 87e1d57 commit 8966563
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -38,9 +38,10 @@ jobs:
- name: Build wheels on Linux
if: runner.os == 'Linux'
env:
CIBW_BEFORE_BUILD: 'yum update -y'
CIBW_BEFORE_BUILD: |
yum update -y
python -m pip install pybind11
run: |
pip install pybind11
python -m cibuildwheel --output-dir dist
- name: Build wheels Mac OS
if: runner.os == 'macOS'
@@ -49,8 +50,8 @@ jobs:
brew update
brew unlink gcc@8 gcc@9
brew install cmake
python -m pip install pybind11
run: |
pip install pybind11
python -m cibuildwheel --output-dir dist
- name: Store wheel as artifact
uses: actions/upload-artifact@v2
@@ -69,7 +70,7 @@ jobs:
python-version: 3.6
- name: Build a source tarball
run: |
pip install pybind11
python -m pip install pybind11
python setup.py sdist
- name: Store sdist as artifact
uses: actions/upload-artifact@v2

0 comments on commit 8966563

Please sign in to comment.