1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- python-version : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
17+ python-version : ["3.9", "3.10", "3.11", "3.12"]
1818
1919 steps :
2020 - uses : actions/checkout@v4
@@ -24,20 +24,21 @@ jobs:
2424 uses : actions/setup-python@v5
2525 with :
2626 python-version : ${{ matrix.python-version }}
27+ cache : ' pip'
2728 - name : Install dependencies
2829 run : |
29- python3 -m pip install --upgrade pip
30- python3 -m pip install .[all] -v
30+ python -m pip install --upgrade pip
31+ python -m pip install .[all] -v
3132 - name : Test with pytest
3233 run : |
33- python3 -m pytest
34+ python -m pytest
3435
3536 build-windows :
3637
3738 runs-on : windows-latest
3839 strategy :
3940 matrix :
40- python-version : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
41+ python-version : ["3.9", "3.10", "3.11", "3.12"]
4142
4243 steps :
4344 - uses : actions/checkout@v4
@@ -47,20 +48,21 @@ jobs:
4748 uses : actions/setup-python@v5
4849 with :
4950 python-version : ${{ matrix.python-version }}
51+ cache : ' pip'
5052 - name : Install dependencies
5153 run : |
52- python3 -m pip install --upgrade pip
53- python3 -m pip install .[all] -v
54+ python -m pip install --upgrade pip
55+ python -m pip install .[all] -v
5456 - name : Test with pytest
5557 run : |
56- python3 -m pytest
58+ python -m pytest
5759
5860 build-macos :
5961
60- runs-on : macos-13
62+ runs-on : macos-latest
6163 strategy :
6264 matrix :
63- python-version : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
65+ python-version : ["3.9", "3.10", "3.11", "3.12"]
6466
6567 steps :
6668 - uses : actions/checkout@v4
@@ -70,13 +72,14 @@ jobs:
7072 uses : actions/setup-python@v5
7173 with :
7274 python-version : ${{ matrix.python-version }}
75+ cache : ' pip'
7376 - name : Install dependencies
7477 run : |
75- python3 -m pip install --upgrade pip
76- python3 -m pip install .[all] --verbose
78+ python -m pip install --upgrade pip
79+ python -m pip install .[all] --verbose
7780 - name : Test with pytest
7881 run : |
79- python3 -m pytest
82+ python -m pytest
8083
8184 # build-linux-opencl:
8285
@@ -98,29 +101,29 @@ jobs:
98101 # sudo apt-get install -y --no-install-recommends llvm intel-oneapi-runtime-opencl intel-oneapi-runtime-compilers libclblast-dev
99102 # - name: Install dependencies
100103 # run: |
101- # python3 -m pip install --upgrade pip
102- # CMAKE_ARGS="-DLLAMA_CLBLAST=on" python3 -m pip install .[all] --verbose
104+ # python -m pip install --upgrade pip
105+ # CMAKE_ARGS="-DLLAMA_CLBLAST=on" python -m pip install .[all] --verbose
103106 # - name: Test with pytest
104107 # run: |
105- # python3 -m pytest
108+ # python -m pytest
106109
107110
108111 build-macos-metal :
109112
110- runs-on : macos-13
113+ runs-on : macos-latest
111114
112115 steps :
113116 - uses : actions/checkout@v4
114117 with :
115118 submodules : " recursive"
116- - name : Set up Python 3.8
119+ - name : Set up Python 3.9
117120 uses : actions/setup-python@v5
118121 with :
119- python-version : " 3.8 "
122+ python-version : " 3.9 "
120123 - name : Install dependencies
121124 run : |
122- python3 -m pip install --upgrade pip
123- CMAKE_ARGS="-DLLAMA_METAL=on" python3 -m pip install .[all] --verbose
125+ python -m pip install --upgrade pip
126+ CMAKE_ARGS="-DLLAMA_METAL=on" python -m pip install .[all] --verbose
124127 - name : Test with pytest
125128 run : |
126- python3 -m pytest
129+ python -m pytest
0 commit comments