@@ -16,10 +16,25 @@ jobs:
16
16
with :
17
17
python-version : ${{ matrix.python-version }}
18
18
cache : ' pip'
19
- - name : Install dependencies
19
+
20
+ - name : Install dependencies (Linux/MacOS)
21
+ if : runner.os != 'Windows'
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ python -m pip install uv
25
+ RUST_LOG=trace python -m uv pip install llama-cpp-python[all] --verbose
26
+ shell : bash
27
+
28
+ - name : Install dependencies (Windows)
29
+ if : runner.os == 'Windows'
30
+ env :
31
+ RUST_LOG : trace
20
32
run : |
21
33
python -m pip install --upgrade pip
22
- python -m pip install --verbose llama-cpp-python[all]
34
+ python -m pip install uv
35
+ python -m uv pip install llama-cpp-python[all] --verbose
36
+ shell : cmd
37
+
23
38
- name : Test with pytest
24
39
run : |
25
40
python -c "import llama_cpp"
@@ -37,10 +52,25 @@ jobs:
37
52
with :
38
53
python-version : ${{ matrix.python-version }}
39
54
cache : ' pip'
40
- - name : Install dependencies
55
+
56
+ - name : Install dependencies (Linux/MacOS)
57
+ if : runner.os != 'Windows'
58
+ run : |
59
+ python -m pip install --upgrade pip
60
+ python -m pip install uv
61
+ RUST_LOG=trace python -m uv pip install llama-cpp-python[all] --verbose
62
+ shell : bash
63
+
64
+ - name : Install dependencies (Windows)
65
+ if : runner.os == 'Windows'
66
+ env :
67
+ RUST_LOG : trace
41
68
run : |
42
69
python -m pip install --upgrade pip
43
- python -m pip install --verbose llama-cpp-python[all]
70
+ python -m pip install uv
71
+ python -m uv pip install llama-cpp-python[all] --verbose
72
+ shell : cmd
73
+
44
74
- name : Test with pytest
45
75
run : |
46
76
python -c "import llama_cpp"
@@ -57,11 +87,26 @@ jobs:
57
87
uses : actions/setup-python@v5
58
88
with :
59
89
python-version : ${{ matrix.python-version }}
60
- cache : ' pip'
61
- - name : Install dependencies
90
+ cache : ' pip'
91
+
92
+ - name : Install dependencies (Linux/MacOS)
93
+ if : runner.os != 'Windows'
94
+ run : |
95
+ python -m pip install --upgrade pip
96
+ python -m pip install uv
97
+ RUST_LOG=trace python -m uv pip install llama-cpp-python[all] --verbose
98
+ shell : bash
99
+
100
+ - name : Install dependencies (Windows)
101
+ if : runner.os == 'Windows'
102
+ env :
103
+ RUST_LOG : trace
62
104
run : |
63
105
python -m pip install --upgrade pip
64
- python -m pip install --verbose llama-cpp-python[all]
106
+ python -m pip install uv
107
+ python -m uv pip install llama-cpp-python[all] --verbose
108
+ shell : cmd
109
+
65
110
- name : Test with pytest
66
111
run : |
67
112
python -c "import llama_cpp"
0 commit comments