Skip to content

Commit 630b4da

Browse files
committed
CI: Ubuntu 20.04 -> 24.04
Github will remove the Ubuntu 20.04 LTS runner on 2025-04-01. This moves the existing jobs from 20.04 to 24.04.
1 parent 4f26892 commit 630b4da

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77

88
jobs:
99
# This job takes approximately 15 minutes
10-
check-ubuntu-20_04-make-gcc:
11-
runs-on: ubuntu-20.04
10+
check-ubuntu-24_04-make-gcc:
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
@@ -28,10 +28,10 @@ jobs:
2828
with:
2929
path: .ccache
3030
save-always: true
31-
key: ${{ runner.os }}-20.04-make-gcc-${{ github.ref }}-${{ github.sha }}-PR
31+
key: ${{ runner.os }}-24.04-make-gcc-${{ github.ref }}-${{ github.sha }}-PR
3232
restore-keys: |
33-
${{ runner.os }}-20.04-make-gcc-${{ github.ref }}
34-
${{ runner.os }}-20.04-make-gcc
33+
${{ runner.os }}-24.04-make-gcc-${{ github.ref }}
34+
${{ runner.os }}-24.04-make-gcc
3535
- name: ccache environment
3636
run: |
3737
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
@@ -62,8 +62,8 @@ jobs:
6262
run: ccache -s
6363

6464
# This job takes approximately 15 minutes
65-
check-ubuntu-20_04-make-clang:
66-
runs-on: ubuntu-20.04
65+
check-ubuntu-24_04-make-clang:
66+
runs-on: ubuntu-24.04
6767
env:
6868
CC: "ccache clang"
6969
CXX: "ccache clang++"
@@ -78,7 +78,7 @@ jobs:
7878
DEBIAN_FRONTEND: noninteractive
7979
run: |
8080
sudo apt-get update
81-
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb jq flex bison libxml2-utils cpanminus ccache z3
81+
sudo apt-get install --no-install-recommends -yq clang-19 clang++-19 gdb jq flex bison libxml2-utils cpanminus ccache z3
8282
cpanm Thread::Pool::Simple
8383
- name: Confirm z3 solver is available and log the version installed
8484
run: z3 --version
@@ -87,10 +87,10 @@ jobs:
8787
with:
8888
path: .ccache
8989
save-always: true
90-
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR
90+
key: ${{ runner.os }}-24.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR
9191
restore-keys: |
92-
${{ runner.os }}-20.04-make-clang-${{ github.ref }}
93-
${{ runner.os }}-20.04-make-clang
92+
${{ runner.os }}-24.04-make-clang-${{ github.ref }}
93+
${{ runner.os }}-24.04-make-clang
9494
- name: ccache environment
9595
run: |
9696
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
@@ -134,8 +134,8 @@ jobs:
134134

135135
# This job takes approximately 4 minutes
136136
benchmarking:
137-
runs-on: ubuntu-20.04
138-
needs: check-ubuntu-20_04-make-clang
137+
runs-on: ubuntu-24.04
138+
needs: check-ubuntu-24_04-make-clang
139139
steps:
140140
- uses: actions/checkout@v4
141141
with:
@@ -162,8 +162,8 @@ jobs:
162162

163163
# This job takes approximately 1 minute
164164
examples:
165-
runs-on: ubuntu-20.04
166-
needs: check-ubuntu-20_04-make-clang
165+
runs-on: ubuntu-24.04
166+
needs: check-ubuntu-24_04-make-clang
167167
steps:
168168
- uses: actions/checkout@v4
169169
- name: Get the ebmc binary

0 commit comments

Comments
 (0)