Skip to content

Commit ece344b

Browse files
authored
[CI] Use 20.04 Ubuntu image instead of latest (#8365)
For unknown reason, GitHub Actions seems to pick up jobs running on ubuntu-20.04 much faster than on ubuntu-latest. Ubuntu version is not relevant for our tasks, but using 20.04 should significantly improve responsivness of CI system.
1 parent 051fe89 commit ece344b

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/sycl_containers.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
base_image_ubuntu2004:
2626
if: github.repository == 'intel/llvm'
2727
name: Base Ubuntu 20.04 Docker image
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-20.04
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v3
@@ -44,7 +44,7 @@ jobs:
4444
build_image_ubuntu2004:
4545
if: github.repository == 'intel/llvm'
4646
name: Build Ubuntu Docker image
47-
runs-on: ubuntu-latest
47+
runs-on: ubuntu-20.04
4848
steps:
4949
- name: Checkout
5050
uses: actions/checkout@v3
@@ -66,7 +66,7 @@ jobs:
6666
drivers_image_ubuntu2004:
6767
if: github.repository == 'intel/llvm'
6868
name: Intel Drivers Ubuntu 20.04 Docker image
69-
runs-on: ubuntu-latest
69+
runs-on: ubuntu-20.04
7070
needs: base_image_ubuntu2004
7171
steps:
7272
- name: Checkout
@@ -105,7 +105,7 @@ jobs:
105105
drivers_image_ubuntu2004_unstable:
106106
if: github.repository == 'intel/llvm'
107107
name: Intel Drivers (unstable) Ubuntu 20.04 Docker image
108-
runs-on: ubuntu-latest
108+
runs-on: ubuntu-20.04
109109
needs: base_image_ubuntu2004
110110
steps:
111111
- name: Checkout
@@ -136,7 +136,7 @@ jobs:
136136
base_image_ubuntu2204:
137137
if: github.repository == 'intel/llvm'
138138
name: Base Ubuntu 22.04 Docker image
139-
runs-on: ubuntu-latest
139+
runs-on: ubuntu-20.04
140140
steps:
141141
- name: Checkout
142142
uses: actions/checkout@v3
@@ -155,7 +155,7 @@ jobs:
155155
build_image_ubuntu2204:
156156
if: github.repository == 'intel/llvm'
157157
name: Build Ubuntu Docker image
158-
runs-on: ubuntu-latest
158+
runs-on: ubuntu-20.04
159159
steps:
160160
- name: Checkout
161161
uses: actions/checkout@v3
@@ -177,7 +177,7 @@ jobs:
177177
drivers_image_ubuntu2204:
178178
if: github.repository == 'intel/llvm'
179179
name: Intel Drivers Ubuntu 22.04 Docker image
180-
runs-on: ubuntu-latest
180+
runs-on: ubuntu-20.04
181181
needs: base_image_ubuntu2204
182182
steps:
183183
- name: Checkout
@@ -215,7 +215,7 @@ jobs:
215215
drivers_image_ubuntu2204_unstable:
216216
if: github.repository == 'intel/llvm'
217217
name: Intel Drivers (unstable) Ubuntu 22.04 Docker image
218-
runs-on: ubuntu-latest
218+
runs-on: ubuntu-20.04
219219
needs: base_image_ubuntu2204
220220
steps:
221221
- name: Checkout

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
name: Start AWS
183183
needs: build
184184
if: ${{ inputs.lts_aws_matrix != '[]' }}
185-
runs-on: ubuntu-latest
185+
runs-on: ubuntu-20.04
186186
environment: aws
187187
steps:
188188
- name: Setup script
@@ -308,7 +308,7 @@ jobs:
308308
# Always attempt to shutdown AWS instance, even if AWS start was not
309309
# successful.
310310
if: ${{ always() && inputs.lts_aws_matrix != '[]' }}
311-
runs-on: ubuntu-latest
311+
runs-on: ubuntu-20.04
312312
environment: aws
313313
steps:
314314
- name: Setup script

.github/workflows/sycl_nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
ubuntu2004_docker_build_push:
7070
if: github.repository == 'intel/llvm'
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-20.04
7272
needs: ubuntu2004_build_test
7373
steps:
7474
- uses: actions/checkout@v3
@@ -105,7 +105,7 @@ jobs:
105105
106106
ubuntu2204_docker_build_push:
107107
if: github.repository == 'intel/llvm'
108-
runs-on: ubuntu-latest
108+
runs-on: ubuntu-20.04
109109
needs: ubuntu2204_build_test
110110
steps:
111111
- uses: actions/checkout@v3

.github/workflows/sycl_update_gpu_driver.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
update_driver_linux:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111
if: github.repository == 'intel/llvm'
1212
steps:
1313
- uses: actions/checkout@v3

.github/workflows/windows_test_comment_trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
windows_test_preparation:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-20.04
1010
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/testwin' }}
1111
steps:
1212
- name: react_to_comment
@@ -52,7 +52,7 @@ jobs:
5252
build_ref: ${{ needs.windows_test_preparation.outputs.PR_SHA }}
5353

5454
windows_test_completion:
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-20.04
5656
needs: [windows_test_preparation, windows_default]
5757
if: always()
5858
steps:

0 commit comments

Comments
 (0)