-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor cibuildwheel.yml in line with latest docs
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
os: [ubuntu-20.04, windows-2019, macOS-11] | ||
env: | ||
# Seems to have trouble parsing our setup.py, thus: | ||
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8" | ||
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7" | ||
# Install numpy with a wheel (do NOT compile it): | ||
CIBW_BEFORE_BUILD: "pip install --only-binary :all: -r requirements.txt" | ||
# There are/were no numpy wheels for these: | ||
|
@@ -20,7 +20,7 @@ jobs: | |
CIBW_TEST_COMMAND: "python {package}/Tests/test_Cluster.py" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Optional | ||
submodules: true # Optional, use if you have submodules | ||
|
@@ -33,11 +33,12 @@ jobs: | |
git checkout biopython-181 | ||
cd .. | ||
# Could not work out how to give package path with | ||
# uses: pypa/[email protected] | ||
- name: Build wheels | ||
run: | | ||
pipx run cibuildwheel==2.16.2 --output-dir wheelhouse biopython | ||
uses: pypa/[email protected] | ||
with: | ||
package-dir: biopython | ||
output-dir: wheelhouse | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|