Skip to content

Commit

Permalink
Merge pull request #811 from htm-community/pypi_cibuildwheel
Browse files Browse the repository at this point in the history
CI: separate builds for GH Release and PyPI
  • Loading branch information
breznak authored Jun 1, 2020
2 parents 267b676 + f24a642 commit 2500939
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ jobs:
name: "dist-${{ matrix.os }}"
path: build/Release/distr/dist



build-wheels:
name: Wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
#max-parallel: 4
matrix:
python-version: [3.7] #other pythons are internally changed by CIBW
os: [ubuntu-18.04, windows-2019, macOS-latest]
steps:
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.4.2
Expand All @@ -104,7 +115,7 @@ jobs:


publish-pypi: #this is a separate job, as the upload must run only once, and when all wheels are created
needs: [build-release-gh]
needs: [build-wheels]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit 2500939

Please sign in to comment.