From 6cd654e4481d09f737ce23fb5640d44a43d4d4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Vandecr=C3=A8me?= Date: Tue, 29 Oct 2024 10:50:50 +0100 Subject: [PATCH] test --- .github/workflows/test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcfd126..9024c4e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,35 @@ permissions: contents: read jobs: + linux-musl: + runs-on: ubuntu-latest + strategy: + matrix: + platform: [ + { target: "x86_64-unknown-linux-musl", image_tag: "x86_64-musl" }, + { target: "i686-unknown-linux-musl", image_tag: "i686-musl" }, + { target: "aarch64-unknown-linux-musl", image_tag: "aarch64-musl" }, + { target: "armv7-unknown-linux-musleabihf", image_tag: "armv7-musleabihf" }, + { target: "powerpc64le-unknown-linux-musl", image_tag: "powerpc64le-musl" }, + ] + container: + image: docker://messense/rust-musl-cross:${{ matrix.platform.image_tag }} + env: + CFLAGS_armv7_unknown_linux_musleabihf: '-mfpu=vfpv3-d16' + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Build wheels - linux-musl + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist --find-interpreter + sccache: 'true' + manylinux: musllinux_1_1 + container: off + build: runs-on: ubuntu-latest