From 54042f2124fb174de8f1b07831b6edbe6e423da7 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 19 Apr 2023 09:46:47 -0500 Subject: [PATCH] chore(ci): Build musl wheels --- .github/workflows/maturin.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/maturin.yml b/.github/workflows/maturin.yml index 79c9002..6762acf 100644 --- a/.github/workflows/maturin.yml +++ b/.github/workflows/maturin.yml @@ -36,6 +36,26 @@ jobs: name: wheels path: dist + musllinux: + runs-on: ubuntu-latest + strategy: + matrix: + target: [x86_64, aarch64] + steps: + - uses: actions/checkout@v3 + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + args: --manifest-path crates/typos-cli/Cargo.toml --release --out dist + 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: