Skip to content

Commit de2d409

Browse files
Merge pull request #16 from codecov/joseph/build-alpine
build: add alpine job to build musllinux wheels
2 parents 4f5986d + d95eb37 commit de2d409

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,29 @@ jobs:
3939
name: wheels
4040
path: dist
4141

42+
alpine:
43+
runs-on: ubuntu-latest
44+
strategy:
45+
matrix:
46+
target: [x86_64, x86, aarch64, armv7]
47+
steps:
48+
- uses: actions/checkout@v3
49+
- uses: actions/setup-python@v4
50+
with:
51+
python-version: '3.10'
52+
- name: Build wheels
53+
uses: PyO3/maturin-action@v1
54+
with:
55+
target: ${{ matrix.target }}
56+
args: --release --out dist --find-interpreter
57+
sccache: 'true'
58+
manylinux: musllinux_1_2
59+
- name: Upload wheels
60+
uses: actions/upload-artifact@v3
61+
with:
62+
name: wheels
63+
path: dist
64+
4265
windows:
4366
runs-on: windows-latest
4467
strategy:

0 commit comments

Comments
 (0)