Skip to content

Enable building wheels on multiple operating systems #89

Enable building wheels on multiple operating systems

Enable building wheels on multiple operating systems #89

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-26, windows-2022]
steps:
- uses: actions/checkout@v6
with:
submodules: true
persist-credentials: false
- name: Set up vcpkg (Windows)
if: runner.os == 'Windows'
uses: lukka/run-vcpkg@v11
with:
# Pin to a known-good vcpkg commit/tag
vcpkgGitCommitId: 'fc3be1ebea7eaeb3071fe716ac65713af1f3a146'
# Used to host cibuildwheel
- uses: actions/setup-python@v5
- name: Build wheels
uses: pypa/cibuildwheel@v3.4.0
env:
CIBW_BUILD: "cp{311,312,313,314}-*"
MACOSX_DEPLOYMENT_TARGET: "26.0"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl