Skip to content

Commit

Permalink
use ubuntu 20.04 when running with valgrind
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pabuhler authored Jan 6, 2023
1 parent 0fc6310 commit 07ca6ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 07ca6ad

Please sign in to comment.