Skip to content

Commit fecc7e4

Browse files
authored
Remove Ubuntu 20.04 CI usage (#3918)
This is deprecated per actions/runner-images#11101 and will be fully removed on 2025-04-01. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 182fb6c commit fecc7e4

File tree

6 files changed

+24
-27
lines changed

6 files changed

+24
-27
lines changed

.github/workflows/bench.yml

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

1616
jobs:
1717
perf-benchcomp:
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Save push event HEAD and HEAD~ to environment variables
2121
if: ${{ github.event_name == 'push' }}
@@ -46,13 +46,13 @@ jobs:
4646
- name: Set up Kani Dependencies (old variant)
4747
uses: ./old/.github/actions/setup
4848
with:
49-
os: ubuntu-20.04
49+
os: ubuntu-24.04
5050
kani_dir: old
5151

5252
- name: Set up Kani Dependencies (new variant)
5353
uses: ./new/.github/actions/setup
5454
with:
55-
os: ubuntu-20.04
55+
os: ubuntu-24.04
5656
kani_dir: new
5757

5858
- name: Copy benchmarks from new to old

.github/workflows/cbmc-latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [macos-13, ubuntu-20.04, ubuntu-22.04]
22+
os: [macos-13, ubuntu-22.04, ubuntu-24.04]
2323
steps:
2424
- name: Checkout Kani under "kani"
2525
uses: actions/checkout@v4
@@ -61,7 +61,7 @@ jobs:
6161
run: ./scripts/kani-regression.sh
6262

6363
perf:
64-
runs-on: ubuntu-20.04
64+
runs-on: ubuntu-24.04
6565
steps:
6666
- name: Checkout Kani under "kani"
6767
uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Kani Dependencies
7272
uses: ./kani/.github/actions/setup
7373
with:
74-
os: ubuntu-20.04
74+
os: ubuntu-24.04
7575
kani_dir: 'kani'
7676

7777
- name: Build Kani using release mode

.github/workflows/format-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
./scripts/run-autopep8.sh
3232
3333
clippy-check:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-24.04
3535
steps:
3636
- name: Checkout Kani
3737
uses: actions/checkout@v4
3838

3939
- name: Setup Kani Dependencies
4040
uses: ./.github/actions/setup
4141
with:
42-
os: ubuntu-20.04
42+
os: ubuntu-24.04
4343

4444
- name: 'Install jq for parsing.'
4545
run: |

.github/workflows/kani.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-14]
21+
os: [macos-13, ubuntu-22.04, ubuntu-24.04, macos-14]
2222
steps:
2323
- name: Checkout Kani
2424
uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
3232
run: ./scripts/kani-regression.sh
3333

3434
benchcomp-tests:
35-
runs-on: ubuntu-20.04
35+
runs-on: ubuntu-24.04
3636
steps:
3737
- name: Checkout Kani
3838
uses: actions/checkout@v4
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Kani Dependencies
4747
uses: ./.github/actions/setup
4848
with:
49-
os: ubuntu-20.04
49+
os: ubuntu-24.04
5050

5151
- name: Build Kani using release mode
5252
run: cargo build-dev -- --release
@@ -55,23 +55,23 @@ jobs:
5555
run: pushd tools/benchcomp && PATH=$(realpath ../../scripts):$PATH test/run
5656

5757
perf:
58-
runs-on: ubuntu-20.04
58+
runs-on: ubuntu-24.04
5959
steps:
6060
- name: Checkout Kani
6161
uses: actions/checkout@v4
6262

6363
- name: Setup Kani Dependencies
6464
uses: ./.github/actions/setup
6565
with:
66-
os: ubuntu-20.04
66+
os: ubuntu-24.04
6767

6868
- name: Execute Kani performance tests
6969
run: ./scripts/kani-perf.sh
7070
env:
7171
RUST_TEST_THREADS: 1
7272

7373
documentation:
74-
runs-on: ubuntu-20.04
74+
runs-on: ubuntu-24.04
7575
permissions:
7676
contents: write
7777
steps:

.github/workflows/release.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
build_bundle_linux:
7272
name: BuildBundle-Linux
73-
runs-on: ubuntu-20.04
73+
runs-on: ubuntu-22.04
7474
outputs:
7575
version: ${{ steps.bundle.outputs.version }}
7676
bundle: ${{ steps.bundle.outputs.bundle }}
@@ -83,7 +83,7 @@ jobs:
8383
- name: Setup Kani Dependencies
8484
uses: ./.github/actions/setup
8585
with:
86-
os: ubuntu-20.04
86+
os: ubuntu-22.04
8787

8888
- name: Build bundle
8989
id: bundle
@@ -97,14 +97,11 @@ jobs:
9797
needs: [build_bundle_macos, build_bundle_linux]
9898
strategy:
9999
matrix:
100-
os: [macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
100+
os: [macos-13, ubuntu-22.04, ubuntu-24.04]
101101
include:
102102
- os: macos-13
103103
rust_target: x86_64-apple-darwin
104104
prev_job: ${{ needs.build_bundle_macos.outputs }}
105-
- os: ubuntu-20.04
106-
rust_target: x86_64-unknown-linux-gnu
107-
prev_job: ${{ needs.build_bundle_linux.outputs }}
108105
- os: ubuntu-22.04
109106
rust_target: x86_64-unknown-linux-gnu
110107
prev_job: ${{ needs.build_bundle_linux.outputs }}
@@ -200,7 +197,7 @@ jobs:
200197
needs: [build_bundle_macos, build_bundle_linux]
201198
strategy:
202199
matrix:
203-
os: [macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
200+
os: [macos-13, ubuntu-22.04, ubuntu-24.04]
204201
include:
205202
# Stores the output of the previous job conditional to the OS
206203
- prev_job: ${{ needs.build_bundle_linux.outputs }}
@@ -244,7 +241,7 @@ jobs:
244241
kani_release:
245242
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/kani-') }}
246243
name: Release
247-
runs-on: ubuntu-20.04
244+
runs-on: ubuntu-24.04
248245
needs: [build_bundle_macos, build_bundle_macos_aarch64, build_bundle_linux, test_bundle]
249246
outputs:
250247
version: ${{ steps.versioning.outputs.version }}
@@ -301,12 +298,12 @@ jobs:
301298
package_docker:
302299
name: Package Docker
303300
needs: kani_release
304-
runs-on: ubuntu-20.04
301+
runs-on: ubuntu-24.04
305302
permissions:
306303
contents: write
307304
packages: write
308305
env:
309-
os: ubuntu-20.04
306+
os: ubuntu-24.04
310307
target: x86_64-unknown-linux-gnu
311308
steps:
312309
- name: Checkout code
@@ -315,7 +312,7 @@ jobs:
315312
- name: Setup Kani Dependencies
316313
uses: ./.github/actions/setup
317314
with:
318-
os: ubuntu-20.04
315+
os: ubuntu-24.04
319316

320317
- name: 'Build release bundle'
321318
run: |
@@ -339,7 +336,7 @@ jobs:
339336
uses: docker/build-push-action@v6
340337
with:
341338
context: .
342-
file: scripts/ci/Dockerfile.bundle-release-20-04
339+
file: scripts/ci/Dockerfile.bundle-release-24-04
343340
push: true
344341
github-token: ${{ secrets.GITHUB_TOKEN }}
345342
tags: |

.github/workflows/slow-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [macos-13, ubuntu-20.04, ubuntu-22.04]
21+
os: [macos-13, ubuntu-22.04, ubuntu-24.04]
2222
steps:
2323
- name: Checkout Kani
2424
uses: actions/checkout@v4

0 commit comments

Comments
 (0)