mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Python: Use maturin-action for building slint compiler wheels
pypa/cibuildwheel seems to have issues with the linux builds and we use maturin-action also for our main python packages.
This commit is contained in:
parent
0e13cd4cb3
commit
9ab7184df1
1 changed files with 4 additions and 7 deletions
|
|
@ -31,17 +31,14 @@ jobs:
|
|||
- uses: actions/checkout@v5
|
||||
- uses: ./.github/actions/setup-rust
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v3.2.1
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
package-dir: tools/compiler
|
||||
output-dir: wheelhouse
|
||||
env:
|
||||
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
|
||||
CIBW_BUILD_FRONTEND: "build"
|
||||
working-directory: tools/compiler
|
||||
args: --release --out wheelhouse --find-interpreter
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: wheelhouse/*.whl
|
||||
path: tools/compiler/wheelhouse/*.whl
|
||||
|
||||
build-sdist:
|
||||
name: Build source distribution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue