From 07ca6ad289f7d5384f39265e1d5118881e1a375d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20B=C3=BChler?= Date: Fri, 6 Jan 2023 18:15:12 +0100 Subject: [PATCH] use ubuntu 20.04 when running with valgrind ubunutu 22.04 currently uses glibc 2.35 that has a memory leak that is triggered by nss. see: https://sourceware.org/bugzilla/show_bug.cgi?id=29062 This is fixed in glibc 2.36, so until that is available use ubunutu 20.04 --- .github/workflows/autotools.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autotools.yml b/.github/workflows/autotools.yml index 3c8fe2ff0..a5ef77ae5 100644 --- a/.github/workflows/autotools.yml +++ b/.github/workflows/autotools.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-20.04, macos-latest] crypto: [internal, openssl, nss] include: - crypto: internal @@ -25,11 +25,11 @@ jobs: steps: - name: Setup Ubuntu - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' run: sudo apt-get install valgrind - name: Setup Ubuntu NSS - if: matrix.os == 'ubuntu-latest' && matrix.crypto == 'nss' + if: matrix.os == 'ubuntu-20.04' && matrix.crypto == 'nss' run: | sudo apt-get update sudo apt-get install libnss3-dev @@ -54,5 +54,5 @@ jobs: run: make runtest - name: Test Valgrind - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' run: make runtest-valgrind