Skip to content

Commit 9ab7184

Browse files
committed
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.
1 parent 0e13cd4 commit 9ab7184

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/upload_pypi_slint_compiler.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,14 @@ jobs:
3131
- uses: actions/checkout@v5
3232
- uses: ./.github/actions/setup-rust
3333
- name: Build wheels
34-
uses: pypa/[email protected]
34+
uses: PyO3/maturin-action@v1
3535
with:
36-
package-dir: tools/compiler
37-
output-dir: wheelhouse
38-
env:
39-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
40-
CIBW_BUILD_FRONTEND: "build"
36+
working-directory: tools/compiler
37+
args: --release --out wheelhouse --find-interpreter
4138
- uses: actions/upload-artifact@v4
4239
with:
4340
name: wheels-${{ matrix.os }}
44-
path: wheelhouse/*.whl
41+
path: tools/compiler/wheelhouse/*.whl
4542

4643
build-sdist:
4744
name: Build source distribution

0 commit comments

Comments
 (0)