-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop cibuildwheel v1 and 3.5 tests (#325)
* Drop cibuildwheel v1 and 3.5 tests * try [email protected] * drop down to [email protected] * bump ubuntu from 20.04 to 22.04 * Revert "bump ubuntu from 20.04 to 22.04" This reverts commit f94bea6. * bump Python version from 3.8 to 3.11 for coverage/lint and docs * bump cibuildwheel
- Loading branch information
Showing
4 changed files
with
6 additions
and
46 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
jobs: | ||
tests: | ||
name: Coverage and Lint | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -18,7 +18,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.11 | ||
|
||
- name: Install from source | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.11 | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
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
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 |
---|---|---|
|
@@ -56,44 +56,6 @@ jobs: | |
with: | ||
path: ./dist | ||
|
||
make_cibw_v1_wheels: | ||
name: "cibuildwheel v1: ${{ matrix.name }}" | ||
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# Only build for platforms that cibw v2 doesn't support | ||
include: | ||
- os: macos-latest | ||
build: "cp27-macosx_x86_64" | ||
name: macOS Intel | ||
- os: ubuntu-20.04 | ||
build: "cp27-manylinux_x86_64" | ||
name: Linux Intel 64-bit | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
## Build | ||
|
||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_TEST_REQUIRES: pytest numpy | ||
CIBW_TEST_COMMAND: pytest {project}/tests | ||
CIBW_ARCHS_LINUX: auto aarch64 | ||
CIBW_BUILD: ${{ matrix.build }} | ||
|
||
- name: Check with Twine | ||
run: | | ||
pipx run twine check wheelhouse/* | ||
- name: Upload artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: wheelhouse/*.whl | ||
|
||
make_cibw_v2_wheels: | ||
name: "cibuildwheel v2: ${{ matrix.name }}" | ||
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} | ||
|
@@ -157,7 +119,7 @@ jobs: | |
|
||
## Build | ||
|
||
- uses: pypa/cibuildwheel@v2.11.2 | ||
- uses: pypa/cibuildwheel@v2.16.2 | ||
env: | ||
CIBW_TEST_REQUIRES: pytest numpy | ||
CIBW_TEST_COMMAND: pytest {project}/tests | ||
|
@@ -176,7 +138,7 @@ jobs: | |
path: wheelhouse/*.whl | ||
|
||
upload_all: | ||
needs: [make_sdist, make_cibw_v1_wheels, make_cibw_v2_wheels] | ||
needs: [make_sdist, make_cibw_v2_wheels] | ||
runs-on: ubuntu-20.04 | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
|
||
|