ci: Update from ubuntu-20.04 to ubuntu-24.04 due to EOL

Github actions does not run ubuntu-20.04 anymore due to EOL. Update the
20.04 entries to use 24.04.

cpp-coveralls needs an older version of python3 due to pkgutil.ImpImporter
having disappeared in more recent python versions. Therefore, leave
test-coveralls at 22.04.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2025-04-16 15:21:13 -04:00 committed by Stefan Berger
parent 8ad31a72ab
commit a507efb5b7

View File

@ -6,7 +6,7 @@ on:
jobs:
test-distcheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PREFIX: "/usr"
CONFIG: "--with-openssl --prefix=/usr"
@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/test-swtpm
test-asan-ubsan:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: "-fsanitize=address,undefined -g -fno-omit-frame-pointer -fno-sanitize-recover"
LIBTPMS_CFLAGS: "-fsanitize=address,undefined -g -fno-omit-frame-pointer -fno-sanitize-recover"
@ -57,7 +57,7 @@ jobs:
uses: ./.github/actions/test-swtpm
test-asan-ubsan-non-openssl:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: "-fsanitize=address,undefined -g -fno-omit-frame-pointer -fno-sanitize-recover"
LIBTPMS_CFLAGS: "-fsanitize=address,undefined -g -fno-omit-frame-pointer -fno-sanitize-recover"