Skip to content

Commit

Permalink
chore: trying to reproduce the manylinux build issue for python release
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyler committed Sep 6, 2024
1 parent f05b2bf commit 1737372
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 480 deletions.
165 changes: 0 additions & 165 deletions .github/workflows/build.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/openssl.yml
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"
Loading

0 comments on commit 1737372

Please sign in to comment.