Skip to content

add free-threaded-support #27

add free-threaded-support

add free-threaded-support #27

name: Build
on:
push:
paths:
- '**.toml'
- '**.py'
- '**.cpp'
- '**.h'
- '**.c'
- 'xmake.lua'
- 'CMakeLists.txt'
pull_request:
paths:
- '**.toml'
- '**.py'
- '**.cpp'
- '**.h'
- '**.c'
- 'xmake.lua'
- 'CMakeLists.txt'
workflow_call:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-13, macos-14]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
name: Build wheels
with:
xmake-version: latest
- run: pipx run cibuildwheel==2.21.1
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
retention-days: 7