Skip to content

Commit

Permalink
ren-enable sscache and manylinux
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee committed Oct 29, 2024
1 parent 8af2fec commit 8f745da
Showing 1 changed file with 37 additions and 35 deletions.
72 changes: 37 additions & 35 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,38 @@ permissions:
contents: read

jobs:
# linux:
# runs-on: ${{ matrix.platform.runner }}
# strategy:
# matrix:
# platform:
# - runner: ubuntu-latest
# target: x86_64
# - runner: ubuntu-latest
# target: aarch64
# - runner: ubuntu-latest
# target: s390x
# - runner: ubuntu-latest
# target: ppc64le
# steps:
# # - name: Run sccache-cache
# # uses: mozilla-actions/[email protected]
# - 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 --manifest-path py-denormalized/Cargo.toml
# # sccache: 'true'
# manylinux: 2_28
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-linux-${{ matrix.platform.target }}
# path: dist
linux:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: s390x
- runner: ubuntu-latest
target: ppc64le
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- 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 --zig --out dist --manifest-path py-denormalized/Cargo.toml
sccache: 'true'
manylinux: 2_28
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-linux-${{ matrix.platform.target }}
# path: dist

musllinux:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -61,9 +61,11 @@ jobs:
target: x86_64
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
# - runner: ubuntu-latest
# target: armv7
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
Expand All @@ -73,7 +75,7 @@ jobs:
with:
target: ${{ matrix.platform.target }}
args: --release --zig --out dist --manifest-path py-denormalized/Cargo.toml
# sccache: 'true'
sccache: 'true'
manylinux: musllinux_1_2
rust-toolchain: 1.81.0

Expand Down

0 comments on commit 8f745da

Please sign in to comment.