-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: cibuildwheel action and bump to 1.7.3
- Loading branch information
Showing
2 changed files
with
15 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,8 +58,7 @@ jobs: | |
with: | ||
submodules: true | ||
|
||
# TODO: unpin after 2.2.0 gets fixed. PyPy is broken in 2.2.0. | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -81,29 +80,28 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, windows-latest, macos-latest] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
|
||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel==1.5.5 twine | ||
- uses: actions/setup-python@v2 | ||
|
||
- name: Build wheel | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
- uses: joerick/[email protected] | ||
env: | ||
CIBW_BUILD: cp38-win_amd64 cp27-manylinux_i686 cp37-macosx_x86_64 | ||
CIBW_TEST_EXTRAS: test | ||
CIBW_TEST_COMMAND: pytest {project}/tests | ||
CIBW_BUILD_VERBOSITY: 1 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: wheelhouse/* | ||
|
||
- name: Check wheels | ||
run: twine check wheelhouse/* | ||
run: | | ||
python -m pip install twine | ||
twine check wheelhouse/* | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,11 +72,7 @@ jobs: | |
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel==1.7.1 | ||
|
||
- name: Build wheel | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
- uses: joerick/[email protected] | ||
env: | ||
CIBW_SKIP: cp27-win* pp* | ||
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }} | ||
|
@@ -113,11 +109,7 @@ jobs: | |
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel==1.7.1 | ||
|
||
- name: Build wheel | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
- uses: joerick/[email protected] | ||
env: | ||
CIBW_SKIP: cp* | ||
|
||
|
@@ -147,13 +139,11 @@ jobs: | |
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel==1.7.1 | ||
|
||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Build 64-bit wheel | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
uses: joerick/cibuildwheel@v1.7.3 | ||
env: | ||
CIBW_BUILD: cp27-win_amd64 | ||
DISTUTILS_USE_SDK: 1 | ||
|
@@ -164,7 +154,7 @@ jobs: | |
arch: x86 | ||
|
||
- name: Build 32-bit wheel | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
uses: joerick/cibuildwheel@v1.7.3 | ||
env: | ||
CIBW_BUILD: cp27-win32 pp27-win32 | ||
DISTUTILS_USE_SDK: 1 | ||
|