Skip to content

Commit

Permalink
Restore non-x86_64 linux wheel builds (#14)
Browse files Browse the repository at this point in the history
* try to restore linux wheel builds

* don't build aarch64

* use abi3

* Comment out build on every push
  • Loading branch information
kylebarron authored Oct 18, 2024
1 parent c10f3fe commit c157fe2
Show file tree
Hide file tree
Showing 3 changed files with 1,773 additions and 49 deletions.
88 changes: 41 additions & 47 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
platform:
- runner: ubuntu-latest
target: x86_64
# - runner: ubuntu-latest
# target: x86
- runner: ubuntu-latest
target: x86
# Need to fix ring compilation: https://github.com/briansmith/ring/issues/1414#issuecomment-1055177218
# - runner: ubuntu-latest
# target: aarch64
# Not supported in manylinux 2_28?
# - runner: ubuntu-latest
# target: armv7
# - runner: ubuntu-latest
# target: s390x
# - runner: ubuntu-latest
# target: ppc64le
- runner: ubuntu-latest
target: armv7
- runner: ubuntu-latest
target: s390x
- runner: ubuntu-latest
target: ppc64le
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -47,50 +47,44 @@ jobs:
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path object-store-rs/Cargo.toml
# Fails with "no module named pip"
sccache: "false"
manylinux: manylinux_2_28
before-script-linux: |
yum update -y
yum install openssl openssl-devel perl-IPC-Cmd -y
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}-object-store-rs
path: dist

# musllinux:
# runs-on: ${{ matrix.platform.runner }}
# strategy:
# matrix:
# platform:
# - runner: ubuntu-latest
# target: x86_64
# - runner: ubuntu-latest
# target: x86
# - runner: ubuntu-latest
# target: aarch64
# - runner: ubuntu-latest
# target: armv7
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: 3.x
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.platform.target }}
# args: --release --out dist --find-interpreter --manifest-path object-store-rs/Cargo.toml
# sccache: "true"
# manylinux: musllinux_1_2
# before-script-linux: |
# apk add --update openssl
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-musllinux-${{ matrix.platform.target }}-object-store-rs
# path: dist
musllinux:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path object-store-rs/Cargo.toml
sccache: "true"
manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.platform.target }}-object-store-rs
path: dist

windows:
runs-on: ${{ matrix.platform.runner }}
Expand Down
Loading

0 comments on commit c157fe2

Please sign in to comment.