From 9e1392742a706e3df5d4d0fd0d172e3ff593e0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 17 Feb 2024 14:53:50 +0200 Subject: [PATCH] Update CI to build multiple targets --- .github/workflows/wheels.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1dccd30..443310b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -11,15 +11,18 @@ jobs: strategy: matrix: - python-version: ["3.11"] + target: + # https://quay.io/organization/pypa + - manylinux_2_28:x86_64 + - manylinux_2_28_aarch64 +# - musllinux_1_1_x86_64 steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Build Python wheels - run: make manylinux + run: | + TARGET=${{ matrix.target }} + PLATFORM=$(echo "$TARGET" | cut -d: -f1) + ARCH=$(echo "$TARGET" | cut -d: -f2) + make manylinux PLATFORM=$PLATFORM ARCH=$ARCH