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 11
11
runs-on : ${{ matrix.os }}
12
12
strategy :
13
13
matrix :
14
- os : [macos-13, macos- 14, macos-15]
14
+ os : [macos-14, macos-15]
15
15
16
16
steps :
17
17
- uses : actions/checkout@v4
@@ -23,32 +23,21 @@ jobs:
23
23
with :
24
24
python-version : " 3.12"
25
25
cache : ' pip'
26
-
26
+
27
27
- name : Install dependencies (Linux/MacOS)
28
- if : runner.os != 'Windows'
29
28
run : |
30
29
python -m pip install --upgrade pip
31
30
python -m pip install uv
32
31
RUST_LOG=trace python -m uv pip install -e .[all] --verbose
33
32
shell : bash
34
33
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
-
45
34
- name : Build wheels
46
35
47
36
env :
48
37
# disable repair
49
38
CIBW_REPAIR_WHEEL_COMMAND : " "
50
39
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 "
52
41
CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-*"
53
42
with :
54
43
package-dir : .
69
58
with :
70
59
merge-multiple : true
71
60
path : dist2
72
-
61
+
73
62
- uses : softprops/action-gh-release@v2
74
63
with :
75
64
files : dist2/*
You can’t perform that action at this time.
0 commit comments