-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 909 Bytes
/
Copy pathwheels.yml
File metadata and controls
33 lines (31 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: wheels
on:
workflow_dispatch:
push:
tags: ["v*"]
jobs:
build-wheels:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build C++ runtime
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DUAII_BUILD_PLUGINS=ON
cmake --build build --config Release --parallel
- name: Bundle native + build wheel
shell: bash
run: |
python bindings/python/scripts/bundle_native.py --build-dir build
python -m pip install build
python -m build bindings/python
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: bindings/python/dist/*