-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
45 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 |
---|---|---|
|
@@ -7,28 +7,23 @@ on: | |
|
||
jobs: | ||
|
||
# wheel-linux-aarch64: | ||
# name: Build Linux wheels (Aarch64) | ||
# runs-on: ubuntu-latest | ||
# if: "startsWith(github.ref, 'refs/tags/v')" | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Set up QEMU | ||
# id: qemu | ||
# uses: docker/setup-qemu-action@v3 | ||
# with: | ||
# platforms: all | ||
# - name: Build manylinux wheels | ||
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS: aarch64 | ||
# CIBW_BUILD: 'cp*-manylinux_aarch64' | ||
# with: | ||
# output-dir: dist | ||
# - uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: wheels-manylinux_aarch64 | ||
# path: dist/* | ||
wheel-linux-aarch64: | ||
name: Build Linux wheels (Aarch64) | ||
runs-on: ubuntu-22.04-arm | ||
if: "startsWith(github.ref, 'refs/tags/v')" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build manylinux wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: aarch64 | ||
CIBW_BUILD: 'cp*-manylinux_aarch64' | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-manylinux_aarch64 | ||
path: dist/* | ||
|
||
wheel-linux-x86_64: | ||
name: Build Linux wheels (x86-64) | ||
|
@@ -130,33 +125,33 @@ jobs: | |
upload: | ||
environment: PyPI | ||
runs-on: ubuntu-latest | ||
name: Upload | ||
if: "startsWith(github.ref, 'refs/tags/v')" | ||
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
name: Upload | ||
needs: | ||
- sdist | ||
- wheel-linux-aarch64 | ||
- wheel-linux-x86_64 | ||
- wheel-macos-aarch64 | ||
- wheel-macos-x86_64 | ||
- wheel-win32-x86_64 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v1 | ||
- name: Download source distribution | ||
uses: actions/download-artifact@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install CI requirements | ||
run: python -m pip install -U -r ci/requirements.txt | ||
- name: Build source tarball with vendored sources | ||
run: python setup.py vendor sdist | ||
- name: Download built wheels | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: wheels | ||
path: dist | ||
name: sdist | ||
path: dist/ | ||
merge-multiple: true | ||
- name: Download wheel distributions | ||
uses: actions/download-artifact@v4 | ||
with: | ||
pattern: wheels-* | ||
path: dist/ | ||
merge-multiple: true | ||
- name: Publish distributions to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
||
release: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ members = ["derive"] | |
|
||
[package] | ||
name = "fastobo-py" | ||
version = "0.12.3" | ||
version = "0.13.0" | ||
authors = ["Martin Larralde <[email protected]>"] | ||
license = "MIT" | ||
publish = false | ||
|
@@ -43,7 +43,7 @@ version = "0.3.2" | |
[dependencies.horned-owl] | ||
version = "1.0" | ||
[dependencies.fastobo-py-derive-internal] | ||
version = "0.12.3" | ||
version = "0.13.0" | ||
path = "./derive" | ||
|
||
[features] | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fastobo-py-derive-internal" | ||
version = "0.12.3" | ||
version = "0.13.0" | ||
authors = ["Martin Larralde <[email protected]>"] | ||
edition = "2018" | ||
publish = false | ||
|
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