From d95eb37a7a364035b9c96ae711d89a3a11c3eba3 Mon Sep 17 00:00:00 2001 From: joseph-sentry Date: Fri, 19 Apr 2024 13:04:23 -0400 Subject: [PATCH] build: add alpine job to build musllinux wheels Signed-off-by: joseph-sentry --- .github/workflows/publish.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f680954..85dfc2d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,6 +39,29 @@ jobs: name: wheels path: dist + alpine: + runs-on: ubuntu-latest + strategy: + matrix: + target: [x86_64, x86, aarch64, armv7] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + args: --release --out dist --find-interpreter + sccache: 'true' + manylinux: musllinux_1_2 + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist + windows: runs-on: windows-latest strategy: