diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8492157..2a66e21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,10 +70,10 @@ jobs: target: aarch64 - runner: ubuntu-22.04 target: armv7 - - runner: ubuntu-22.04 - target: s390x - - runner: ubuntu-22.04 - target: ppc64le + # - runner: ubuntu-22.04 + # target: s390x + # - runner: ubuntu-22.04 + # target: ppc64le steps: - name: Run checkout uses: actions/checkout@v4 @@ -107,6 +107,43 @@ jobs: target: x86_64 - runner: ubuntu-22.04 target: x86 + # - runner: ubuntu-22.04 + # target: aarch64 + # - runner: ubuntu-22.04 + # target: armv7 + steps: + - name: Run checkout + uses: actions/checkout@v4 + + - name: Setup Python + 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 --features=cjk + sccache: 'true' + manylinux: musllinux_1_2 + before-script-linux: "yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y" + + - name: Upload wheels + uses: actions/upload-artifact@v4 + with: + name: wheels-musllinux-${{ matrix.platform.target }} + path: dist + + musllinux2: + runs-on: ${{ matrix.platform.runner }} + strategy: + matrix: + platform: + # - runner: ubuntu-22.04 + # target: x86_64 + # - runner: ubuntu-22.04 + # target: x86 - runner: ubuntu-22.04 target: aarch64 - runner: ubuntu-22.04 @@ -127,6 +164,7 @@ jobs: args: --release --out dist --find-interpreter --features=cjk sccache: 'true' manylinux: musllinux_1_2 + before-script-linux: "apt-get update && apt-get install libssl-dev pkg-config -y" - name: Upload wheels uses: actions/upload-artifact@v4