1111runs-on :${{ matrix.os }}
1212strategy :
1313matrix :
14- os :[macos-13, macos- 14, macos-15]
14+ os :[macos-14, macos-15]
1515
1616steps :
1717 -uses :actions/checkout@v4
@@ -23,32 +23,21 @@ jobs:
2323with :
2424python-version :" 3.12"
2525cache :' pip'
26-
26+
2727 -name :Install dependencies (Linux/MacOS)
28- if :runner.os != 'Windows'
2928run :|
3029 python -m pip install --upgrade pip
3130 python -m pip install uv
3231 RUST_LOG=trace python -m uv pip install -e .[all] --verbose
3332shell :bash
3433
35- -name :Install dependencies (Windows)
36- if :runner.os == 'Windows'
37- env :
38- RUST_LOG :trace
39- run :|
40- python -m pip install --upgrade pip
41- python -m pip install uv
42- python -m uv pip install -e .[all] --verbose
43- shell :cmd
44-
4534 -name :Build wheels
4635uses :pypa/cibuildwheel@v2.22.0
4736env :
4837# disable repair
4938CIBW_REPAIR_WHEEL_COMMAND :" "
5039CIBW_ARCHS :" arm64"
51- CIBW_ENVIRONMENT :CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DGGML_METAL=on"
40+ CIBW_ENVIRONMENT :CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DGGML_METAL=on -DCMAKE_CROSSCOMPILING=ON "
5241CIBW_BUILD :" cp39-* cp310-* cp311-* cp312-*"
5342with :
5443package-dir :.
6958with :
7059merge-multiple :true
7160path :dist2
72-
61+
7362 -uses :softprops/action-gh-release@v2
7463with :
7564files :dist2/*