chore: trying to reproduce the manylinux build issue for python release #7329
Workflow file for this 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
name: python_build | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
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: | |
lint: | |
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: -m python/Cargo.toml ${{ 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" |