1717 CT2_VERBOSE : 1
1818 strategy :
1919 matrix :
20- os : [ubuntu-20 .04]
20+ os : [ubuntu-22 .04]
2121 backend : [mkl, dnnl]
2222
2323 steps :
7474
7575
7676 build-and-test-cpp-aarch64 :
77- runs-on : ubuntu-20 .04
77+ runs-on : ubuntu-22 .04
7878 env :
7979 CT2_VERBOSE : 1
8080 strategy :
@@ -132,10 +132,10 @@ jobs:
132132 runs-on : ${{ matrix.os }}
133133 strategy :
134134 matrix :
135- os : [ubuntu-20 .04, windows-2019]
135+ os : [ubuntu-22 .04, windows-2019]
136136 arch : [auto64]
137137 include :
138- - os : ubuntu-20 .04
138+ - os : ubuntu-22 .04
139139 arch : aarch64
140140 - os : macos-13
141141 arch : arm64
@@ -150,7 +150,7 @@ jobs:
150150 name : Set up QEMU
151151
152152 - name : Build wheels
153- uses : pypa/cibuildwheel@v2.21.3
153+ uses : pypa/cibuildwheel@v2.22.0
154154 with :
155155 package-dir : python
156156 output-dir : python/wheelhouse
@@ -181,13 +181,13 @@ jobs:
181181 runs-on : ${{ matrix.os }}
182182 strategy :
183183 matrix :
184- os : [ubuntu-20 .04, windows-2019]
184+ os : [ubuntu-22 .04, windows-2019]
185185
186186 steps :
187- - name : Set up Python 3.8
187+ - name : Set up Python 3.9
188188 uses : actions/setup-python@v5
189189 with :
190- python-version : 3.8
190+ python-version : 3.9
191191
192192 - uses : actions/checkout@v4
193193
@@ -206,13 +206,13 @@ jobs:
206206 - name : Install wheel
207207 if : startsWith(matrix.os, 'ubuntu')
208208 run : |
209- pip install *cp38 *manylinux*x86_64.whl
209+ pip install *cp39 *manylinux*x86_64.whl
210210
211211 - name : Install wheel
212212 if : startsWith(matrix.os, 'windows')
213213 shell : bash
214214 run : |
215- pip install *cp38 *win*.whl
215+ pip install *cp39 *win*.whl
216216
217217 - name : Run tests
218218 shell : bash
@@ -226,10 +226,10 @@ jobs:
226226 steps :
227227 - uses : actions/checkout@v4
228228
229- - name : Set up Python 3.8
229+ - name : Set up Python 3.9
230230 uses : actions/setup-python@v5
231231 with :
232- python-version : 3.8
232+ python-version : 3.9
233233
234234 - name : Install dependencies
235235 run : |
@@ -255,7 +255,7 @@ jobs:
255255 publish-python-wheels-on-pypi :
256256 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
257257 needs : [build-and-test-cpp-x86_64, build-python-wheels, test-python-wheels, check-python-style]
258- runs-on : ubuntu-20 .04
258+ runs-on : ubuntu-22 .04
259259
260260 steps :
261261 - name : Download Python wheels
@@ -274,7 +274,7 @@ jobs:
274274
275275
276276 build-and-push-docker-images :
277- runs-on : ubuntu-20 .04
277+ runs-on : ubuntu-22 .04
278278 steps :
279279 - uses : actions/checkout@v4
280280 with :
@@ -305,10 +305,10 @@ jobs:
305305 steps :
306306 - uses : actions/checkout@v4
307307
308- - name : Set up Python 3.8
308+ - name : Set up Python 3.9
309309 uses : actions/setup-python@v5
310310 with :
311- python-version : 3.8
311+ python-version : 3.9
312312
313313 - name : Download CTranslate2 wheels
314314 uses : actions/download-artifact@v4
@@ -319,7 +319,7 @@ jobs:
319319
320320 - name : Install CTranslate2 wheel
321321 run : |
322- pip install *cp38 *manylinux*x86_64.whl
322+ pip install *cp39 *manylinux*x86_64.whl
323323
324324 - name : Install dependencies to build docs
325325 working-directory : docs
0 commit comments