Skip to content

Commit

Permalink
Build musllinux_1_1 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMino committed Jan 24, 2024
1 parent 827c5c8 commit d3d87a6
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- manylinux_x86_64
- manylinux_i686
- manylinux_aarch64
- musllinux_1_1_x86_64
- musllinux_1_1_i686
- musllinux_1_1_aarch64
- macosx_universal2
exclude:
# Skip Linux and Mac builds on Windows
Expand All @@ -40,6 +43,12 @@ jobs:
platform_id: manylinux_x86_64
- os: windows-latest
platform_id: macosx_universal2
- os: windows-latest
platform_id: musllinux_1_1_x86_64
- os: windows-latest
platform_id: musllinux_1_1_i686
- os: windows-latest
platform_id: musllinux_1_1_aarch64
# Skip Mac and Windows builds on Linux
- os: ubuntu-latest
platform_id: macosx_universal2
Expand All @@ -58,6 +67,12 @@ jobs:
platform_id: manylinux_i686
- os: macos-latest
platform_id: manylinux_aarch64
- os: macos-latest
platform_id: musllinux_1_1_x86_64
- os: macos-latest
platform_id: musllinux_1_1_i686
- os: macos-latest
platform_id: musllinux_1_1_aarch64
env:
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: universal2
Expand All @@ -67,13 +82,19 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_1
CIBW_MUSLLINUX_I686_IMAGE: musllinux_1_1
CIBW_MUSLLINUX_AARCH64_IMAGE: musllinux_1_1

steps:
- uses: actions/checkout@v3

- name: Set up QEMU
if: |
runner.os == 'Linux' && (matrix.platform_id == 'manylinux_aarch64' || matrix.platform_id == 'manylinux_i686')
runner.os == 'Linux' && (
matrix.platform_id == 'manylinux_aarch64' || matrix.platform_id == 'manylinux_i686' ||
matrix.platform_id == 'musllinux_1_1_aarch64' || matrix.platform_id == 'musllinux_1_1_i686'
)
uses: docker/setup-qemu-action@v2
with:
platforms: all
Expand Down

0 comments on commit d3d87a6

Please sign in to comment.