Skip to content

Commit

Permalink
Fix release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuka committed Dec 5, 2024
1 parent 6beeb87 commit babcbe6
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit babcbe6

Please sign in to comment.