mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
48 lines
862 B
YAML
48 lines
862 B
YAML
name: CIBW
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- stable
|
|
- v*
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-wasm-emscripten:
|
|
name: Pyodide wheel
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- uses: pypa/cibuildwheel@v3.0.0rc2
|
|
env:
|
|
PYODIDE_BUILD_EXPORTS: whole_archive
|
|
with:
|
|
package-dir: tests
|
|
only: cp312-pyodide_wasm32
|
|
|
|
build-ios:
|
|
name: iOS wheel
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- run: brew upgrade cmake
|
|
|
|
- uses: pypa/cibuildwheel@v3.0.0rc2
|
|
env:
|
|
CIBW_PLATFORM: ios
|
|
with:
|
|
package-dir: tests
|