Skip to content

Commit 0d678c7

Browse files
committed
Replace deprecated Github runner ubuntu-20.04 with ubuntu-24.04
Signed-off-by: Björn Svensson <[email protected]>
1 parent bb5243e commit 0d678c7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
linux:
1212
name: Linux (${{ matrix.backend }})
13-
runs-on: ubuntu-20.04 # for OpenSSL 1.1.1
13+
runs-on: ubuntu-24.04
1414
strategy:
1515
fail-fast: false
1616
matrix:
@@ -23,6 +23,13 @@ jobs:
2323
run: |
2424
sudo apt update -qq
2525
sudo apt install libcppunit-dev libbotan-2-dev p11-kit
26+
# Replace installed OpenSSL with the supported version 1.1.1
27+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb
28+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
29+
curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.24_amd64.deb
30+
sudo dpkg -i --force-confnew openssl_1.1.1f-1ubuntu2.24_amd64.deb \
31+
libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb \
32+
libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
2633
- name: Build
2734
env:
2835
CXXFLAGS: -Werror -DBOTAN_NO_DEPRECATED_WARNINGS

0 commit comments

Comments
 (0)