Skip to content

Commit 4d50490

Browse files
Merge pull request #2403 from IntelPython/pin-linux-runners-ubuntu-24.04
Pin Linux CI jobs to ubuntu-24.04
2 parents 0c25789 + aef42a5 commit 4d50490

3 files changed

Lines changed: 22 additions & 16 deletions

File tree

‎.github/workflows/conda-package-cf.yml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ env:
2222

2323
jobs:
2424
build_linux:
25-
runs-on: ubuntu-latest
25+
# Pinned: ubuntu-latest is moving to Ubuntu 26.04, whose image has no
26+
# preinstalled Miniconda ($CONDA is empty), and Linux jobs below rely on it
27+
runs-on: ubuntu-24.04
2628
timeout-minutes: 90
2729

2830
strategy:
@@ -166,15 +168,15 @@ jobs:
166168
include:
167169
- python: '3.14'
168170
python_spec: '3.14.* *_cp314'
169-
runner: ubuntu-latest
171+
runner: ubuntu-24.04
170172
- python: '3.14'
171173
python_spec: '3.14.* *_cp314t'
172-
runner: ubuntu-latest
174+
runner: ubuntu-24.04
173175
- python: '3.15'
174176
python_spec: '3.15.* *_cp315'
175-
runner: ubuntu-latest
177+
runner: ubuntu-24.04
176178
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
177-
runner: [ubuntu-latest]
179+
runner: [ubuntu-24.04]
178180

179181
steps:
180182
- name: Download artifact
@@ -393,11 +395,11 @@ jobs:
393395
matrix:
394396
python: ['3.14']
395397
python_spec: ['3.14.* *_cp314']
396-
runner: [ubuntu-latest]
398+
runner: [ubuntu-24.04]
397399
include:
398400
- python: '3.14'
399401
python_spec: '3.14.* *_cp314t'
400-
runner: ubuntu-latest
402+
runner: ubuntu-24.04
401403
timeout-minutes: 60
402404
env:
403405
EXAMPLES_ENV_NAME: examples

‎.github/workflows/conda-package.yml‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ env:
2222

2323
jobs:
2424
build_linux:
25-
runs-on: ubuntu-latest
25+
# Pinned: ubuntu-latest is moving to Ubuntu 26.04, whose image has no
26+
# preinstalled Miniconda ($CONDA is empty), and Linux jobs below rely on it
27+
runs-on: ubuntu-24.04
2628
timeout-minutes: 90
2729

2830
strategy:
@@ -195,18 +197,18 @@ jobs:
195197
- python: '3.14'
196198
python_spec: '3.14.* *_cp314'
197199
experimental: false
198-
runner: ubuntu-latest
200+
runner: ubuntu-24.04
199201
- python: '3.14'
200202
python_spec: '3.14.* *_cp314t'
201203
experimental: false
202-
runner: ubuntu-latest
204+
runner: ubuntu-24.04
203205
- python: '3.15'
204206
python_spec: '3.15.* *_cp315'
205207
experimental: false
206-
runner: ubuntu-latest
208+
runner: ubuntu-24.04
207209
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
208210
experimental: [false]
209-
runner: [ubuntu-latest]
211+
runner: [ubuntu-24.04]
210212
continue-on-error: ${{ matrix.experimental }}
211213

212214
steps:
@@ -507,7 +509,7 @@ jobs:
507509
if: |
508510
(github.repository == 'IntelPython/dpctl') &&
509511
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
510-
runs-on: ubuntu-latest
512+
runs-on: ubuntu-24.04
511513
timeout-minutes: 20
512514
strategy:
513515
matrix:
@@ -616,13 +618,13 @@ jobs:
616618
python: ['3.15']
617619
python_spec: ['3.15.* *_cp315']
618620
experimental: [false]
619-
runner: [ubuntu-latest]
621+
runner: [ubuntu-24.04]
620622
include:
621623
# TODO: switch to 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
622624
- python: '3.14'
623625
python_spec: '3.14.* *_cp314t'
624626
experimental: false
625-
runner: ubuntu-latest
627+
runner: ubuntu-24.04
626628
continue-on-error: ${{ matrix.experimental }}
627629
timeout-minutes: 60
628630
env:

‎.github/workflows/os-llvm-sycl-build.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ permissions:
1010
jobs:
1111
install-compiler:
1212
name: Build with nightly build of DPC++ toolchain
13-
runs-on: ubuntu-latest
13+
# TODO: back to ubuntu-latest once intel/llvm#23618 is fixed
14+
# (nightly ld.lld needs libxml2.so.2, missing on ubuntu-26.04)
15+
runs-on: ubuntu-24.04
1416
timeout-minutes: 90
1517

1618
env:

0 commit comments

Comments
 (0)