Skip to content

Commit b4c1067

Browse files
committed
tests,misc: Set GH Action 'runs-on' to 'ubuntu-24.04'
'ubuntu-latest' is subject to change. This gives stabilit 'ubuntu-latest' is subject to change. This gives stability.
1 parent 5769afd commit b4c1067

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
pre-commit:
1616
# runs on github hosted runner
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
if: github.event.pull_request.draft == false
1919
steps:
2020
- uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
# `src` directory contents and use it as a hash. We found there to be bugs
3232
# with the hash function where this task would timeout. This approach is
3333
# simple, works, and still provides some level of caching.
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-24.04
3535
outputs:
3636
date: ${{ steps.date.outputs.date }}
3737
steps:
@@ -66,7 +66,7 @@ jobs:
6666
- run: echo "This job's status is ${{ job.status }}."
6767

6868
testlib-quick-matrix:
69-
runs-on: ubuntu-latest
69+
runs-on: ubuntu-24.04
7070
if: github.event.pull_request.draft == false
7171
# In order to make sure the environment is exactly the same, we run in
7272
# the same container we use to build gem5 and run the testlib tests. This
@@ -249,7 +249,7 @@ jobs:
249249
ci-tests:
250250
# It is 'testlib-quick' which needs to pass for the pull request to be
251251
# merged. This job is a dummy job that depends on all the other jobs.
252-
runs-on: ubuntu-latest
252+
runs-on: ubuntu-24.04
253253
needs:
254254
- testlib-quick-execution
255255
- clang-fast-compilation

.github/workflows/daily-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111

1212
get-date:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
outputs:
1515
date: ${{ steps.date.outputs.date }}
1616
steps:
@@ -53,7 +53,7 @@ jobs:
5353
run: scons build/ALL/unittests.${{ matrix.type }} -j $(nproc)
5454

5555
get-testlib-long-dirs:
56-
runs-on: ubuntu-latest
56+
runs-on: ubuntu-24.04
5757
container: ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
5858
outputs:
5959
test-dirs-matrix: ${{ steps.dir-matrix.outputs.test-dirs-matrix }}

.github/workflows/docker-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414

1515
obtain-targets:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
outputs:
1818
targets: ${{ steps.generate.outputs.targets }}
1919

.github/workflows/scheduler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626

2727
jobs:
2828
schedule-workflows:
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-24.04
3030
steps:
3131
# This step is necessary to allow the `gh` CLI to be used in the
3232
# following steps. The `gh` CLI is used to trigger the workflows.

.github/workflows/utils.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# This job runs the stale action to close issues that have been inactive for 30 days.
1111
# It is scheduled to run every day at 1:30 AM UTC.
1212
close-stale-issues:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/[email protected]
1616
with:

.github/workflows/weekly-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111

1212
get-date:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
outputs:
1515
date: ${{ steps.date.outputs.date }}
1616
steps:
@@ -19,7 +19,7 @@ jobs:
1919
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
2020

2121
get-testlib-very-long-dirs:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-24.04
2323
container: ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
2424
outputs:
2525
test-dirs-matrix: ${{ steps.dir-matrix.outputs.test-dirs-matrix }}

0 commit comments

Comments
 (0)