Skip to content

Commit a796403

Browse files
committed
python: Build python wrapper wheels with github actions
1 parent 48bbd3e commit a796403

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/wheels.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: wheels
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-linux-meson:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.10'
17+
cache: 'pip'
18+
- run: pip install auditwheel patchelf
19+
- run: pip wheel . -w wheel
20+
- run: auditwheel repair --plat=manylinux_2_17_x86_64 wheel/*.whl
21+
22+
build-macos13-meson:
23+
runs-on: macos-13
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.10'
29+
cache: 'pip'
30+
- run: pip wheel . -w wheel
31+
32+
build-macos-meson:
33+
runs-on: macos-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-python@v5
37+
with:
38+
python-version: '3.10'
39+
cache: 'pip'
40+
- run: pip wheel . -w wheel
41+
42+
build-msvc-meson:
43+
runs-on: windows-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: actions/setup-python@v5
47+
with:
48+
python-version: '3.10'
49+
cache: 'pip'
50+
- run: pip wheel . -w wheel

0 commit comments

Comments
 (0)