diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 39f9651..974db7f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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/sccache-action@v0.0.6 - # - 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/sccache-action@v0.0.6 + - 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 }} @@ -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/sccache-action@v0.0.6 - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -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