Skip to content

Commit

Permalink
Only manylinux x86_64 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Oct 18, 2024
1 parent 8553895 commit 1831e3f
Showing 1 changed file with 48 additions and 35 deletions.
83 changes: 48 additions & 35 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,23 @@ concurrency:

jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, aarch64, armv7l]
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.target }}
args: --release --out dist --find-interpreter --manifest-path object-store-rs/Cargo.toml
sccache: "true"
manylinux: auto
# before-script-linux: |
# yum update -y
# yum install openssl openssl-devel perl-IPC-Cmd -y
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.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
# - runner: ubuntu-latest
# target: x86
# - 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
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -69,15 +48,49 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path object-store-rs/Cargo.toml
sccache: "true"
manylinux: musllinux_1_2
manylinux: manylinux_2_28
before-script-linux: |
apk add --update openssl
yum update -y
yum install openssl openssl-devel perl-IPC-Cmd -y
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.platform.target }}-object-store-rs
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

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

0 comments on commit 1831e3f

Please sign in to comment.