@@ -16,10 +16,25 @@ jobs:
1616 with :
1717 python-version : ${{ matrix.python-version }}
1818 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
2032 run : |
2133 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+
2338 - name : Test with pytest
2439 run : |
2540 python -c "import llama_cpp"
@@ -37,10 +52,25 @@ jobs:
3752 with :
3853 python-version : ${{ matrix.python-version }}
3954 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
4168 run : |
4269 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+
4474 - name : Test with pytest
4575 run : |
4676 python -c "import llama_cpp"
@@ -57,11 +87,26 @@ jobs:
5787 uses : actions/setup-python@v5
5888 with :
5989 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
62104 run : |
63105 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+
65110 - name : Test with pytest
66111 run : |
67112 python -c "import llama_cpp"
0 commit comments