Skip to content

Commit 5c1ebc0

Browse files
committed
CI add CIBW_BEFORE_ALL
1 parent 595e3a6 commit 5c1ebc0

File tree

3 files changed

+38
-153
lines changed

3 files changed

+38
-153
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,23 @@ jobs:
4848
fail-fast: false
4949
matrix:
5050
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
51-
5251
runs-on: ${{ matrix.os }}
5352
needs: test
54-
5553
steps:
5654
- uses: actions/checkout@v4
57-
- uses: prefix-dev/[email protected]
58-
with:
59-
environments: default
60-
6155
- name: Build wheels
62-
run: |
63-
pixi run build-ci
64-
56+
uses: pypa/[email protected]
57+
env:
58+
CIBW_BUILD: cp3*-*
59+
CIBW_SKIP: pp* *i686* *win32 *musllinux* *-macosx_universal2 *-win_arm64 *-manylinux_ppc64le *-manylinux_s390x
60+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
61+
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
62+
CIBW_ARCHS_LINUX: auto64
63+
CIBW_ARCHS_MACOS: x86_64 arm64
64+
CIBW_ARCHS_WINDOWS: auto64
65+
CIBW_BEFORE_ALL_LINUX: apt-get install ninja-build pkg-config
66+
CIBW_BEFORE_ALL_WINDOWS: choco install ninja pkgconfiglite
67+
CIBW_BEFORE_ALL_MACOS: brew install ninja pkg-config
6568
- name: Upload package
6669
uses: actions/upload-artifact@v4
6770
with:

0 commit comments

Comments
 (0)