File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ${{ matrix.os }}
1212 strategy :
1313 matrix :
14- os : [macos-13, macos- 14, macos-15]
14+ os : [macos-14, macos-15]
1515
1616 steps :
1717 - uses : actions/checkout@v4
@@ -23,32 +23,21 @@ jobs:
2323 with :
2424 python-version : " 3.12"
2525 cache : ' pip'
26-
26+
2727 - name : Install dependencies (Linux/MacOS)
28- if : runner.os != 'Windows'
2928 run : |
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
3332 shell : 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
4635 uses : pypa/cibuildwheel@v2.22.0
4736 env :
4837 # disable repair
4938 CIBW_REPAIR_WHEEL_COMMAND : " "
5039 CIBW_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 "
5241 CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-*"
5342 with :
5443 package-dir : .
6958 with :
7059 merge-multiple : true
7160 path : dist2
72-
61+
7362 - uses : softprops/action-gh-release@v2
7463 with :
7564 files : dist2/*
You can’t perform that action at this time.
0 commit comments