-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
package.yml
Actions workflow to use one runner per architecture
- Loading branch information
Showing
2 changed files
with
11 additions
and
89 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 |
---|---|---|
|
@@ -10,20 +10,6 @@ jobs: | |
wheel-linux-aarch64: | ||
name: Build Linux wheels (Aarch64) | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp37-manylinux_aarch64 | ||
- cp38-manylinux_aarch64 | ||
- cp39-manylinux_aarch64 | ||
- cp310-manylinux_aarch64 | ||
- cp311-manylinux_aarch64 | ||
- cp312-manylinux_aarch64 | ||
- cp313-manylinux_aarch64 | ||
- pp37-manylinux_aarch64 | ||
- pp38-manylinux_aarch64 | ||
- pp39-manylinux_aarch64 | ||
- pp310-manylinux_aarch64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -37,35 +23,18 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: aarch64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv | ||
CIBW_BUILD: '*-manylinux_aarch64' | ||
CIBW_TEST_REQUIRES: importlib-resources biopython | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.python-tag }} | ||
name: wheels-manylinux_aarch64 | ||
path: dist/* | ||
|
||
wheel-linux-x86_64: | ||
name: Build Linux wheels (x86-64) | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp37-manylinux_x86_64 | ||
- cp38-manylinux_x86_64 | ||
- cp39-manylinux_x86_64 | ||
- cp310-manylinux_x86_64 | ||
- cp311-manylinux_x86_64 | ||
- cp312-manylinux_x86_64 | ||
- cp313-manylinux_x86_64 | ||
- pp37-manylinux_x86_64 | ||
- pp38-manylinux_x86_64 | ||
- pp39-manylinux_x86_64 | ||
- pp310-manylinux_x86_64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -74,35 +43,18 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: x86_64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv | ||
CIBW_BUILD: '*-manylinux_x86_64' | ||
CIBW_TEST_REQUIRES: importlib-resources biopython | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.python-tag }} | ||
name: wheels-manylinux_x86_64 | ||
path: dist/* | ||
|
||
wheel-macos-x86_64: | ||
name: Build MacOS wheels (x86-64) | ||
runs-on: macOS-12 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp37-macosx_x86_64 | ||
- cp38-macosx_x86_64 | ||
- cp39-macosx_x86_64 | ||
- cp310-macosx_x86_64 | ||
- cp311-macosx_x86_64 | ||
- cp312-macosx_x86_64 | ||
- cp313-macosx_x86_64 | ||
- pp37-macosx_x86_64 | ||
- pp38-macosx_x86_64 | ||
- pp39-macosx_x86_64 | ||
- pp310-macosx_x86_64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -111,31 +63,19 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: x86_64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv | ||
CIBW_BUILD: '*-macosx_x86_64' | ||
CIBW_TEST_REQUIRES: importlib-resources | ||
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12 | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.python-tag }} | ||
name: wheels-macosx_x86_64 | ||
path: dist/* | ||
|
||
wheel-macos-aarch64: | ||
name: Build MacOS wheels (Aarch64) | ||
runs-on: macOS-12 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp38-macosx_arm64 | ||
- cp39-macosx_arm64 | ||
- cp310-macosx_arm64 | ||
- cp311-macosx_arm64 | ||
- cp312-macosx_arm64 | ||
- cp313-macosx_arm64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -144,35 +84,19 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: arm64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv | ||
CIBW_BUILD: '*-macosx_arm64' | ||
CIBW_TEST_REQUIRES: importlib-resources | ||
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12 | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.python-tag }} | ||
name: wheels-macosx_arm64 | ||
path: dist/* | ||
|
||
# wheel-win32-x86_64: | ||
# name: Build Windows wheels (x86-64) | ||
# runs-on: windows-2019 | ||
# strategy: | ||
# matrix: | ||
# python-tag: | ||
# - cp37-win_amd64 | ||
# - cp38-win_amd64 | ||
# - cp39-win_amd64 | ||
# - cp310-win_amd64 | ||
# - cp311-win_amd64 | ||
# - cp312-win_amd64 | ||
# - cp313-win_amd64 | ||
# - pp37-win_amd64 | ||
# - pp38-win_amd64 | ||
# - pp39-win_amd64 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
|
@@ -185,17 +109,14 @@ jobs: | |
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS: AMD64 | ||
# CIBW_BUILD: ${{ matrix.python-tag }} | ||
# CIBW_BEFORE_BUILD: pip install cython | ||
# CIBW_BUILD_VERBOSITY: 2 | ||
# CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv | ||
# CIBW_BUILD: '*-win_amd64' | ||
# CIBW_TEST_REQUIRES: importlib-resources | ||
# with: | ||
# output-dir: dist | ||
# - name: Store built wheels | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: wheels-${{ matrix.python-tag }} | ||
# name: wheels-win_amd64 | ||
# path: dist/* | ||
|
||
sdist: | ||
|
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