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 051efcc
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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-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 051efcc

Please sign in to comment.