Skip to content

Commit

Permalink
python: Build python wrapper wheels with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
asoulier committed Feb 3, 2025
1 parent 48bbd3e commit a796403
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: wheels

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-linux-meson:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install auditwheel patchelf
- run: pip wheel . -w wheel
- run: auditwheel repair --plat=manylinux_2_17_x86_64 wheel/*.whl

build-macos13-meson:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip wheel . -w wheel

build-macos-meson:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip wheel . -w wheel

build-msvc-meson:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip wheel . -w wheel

0 comments on commit a796403

Please sign in to comment.