-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: trying to reproduce the manylinux build issue for python release
- Loading branch information
Showing
4 changed files
with
39 additions
and
480 deletions.
There are no files selected for viewing
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Release to PyPI and documentation | ||
|
||
on: | ||
merge_group: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
|
||
defaults: | ||
run: | ||
working-directory: ./python | ||
|
||
env: | ||
# For ease of development, we make rustls default. But for release we should | ||
# use native TLS. | ||
FEATURES_FLAG: --no-default-features --features native-tls | ||
|
||
jobs: | ||
release-pypi-manylinux: | ||
name: PyPI test build manylinux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Publish manylinux to pypi aarch64 (without sdist) | ||
uses: messense/maturin-action@v1 | ||
env: | ||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
with: | ||
target: aarch64-unknown-linux-gnu | ||
command: build | ||
args: --skip-existing -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }} | ||
before-script-linux: | | ||
# We can remove this once we upgrade to 2_28. | ||
# https://github.com/briansmith/ring/issues/1728 | ||
export CFLAGS_aarch64_unknown_linux_gnu="-D__ARM_ARCH=8" |
Oops, something went wrong.