From 45a5de7b044445a2c843c5051f7f9b800959c927 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 17 Mar 2024 11:45:30 -0700 Subject: [PATCH] ci.yml: work around ASAN bug on ubuntu-22.04 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e158e7db..b2aba936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y clang llvm libz-dev valgrind + - run: sudo sysctl kernel.randomize_va_space=0 # https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-14/+bug/2048768 - run: scripts/run_tests.sh - name: Direct compilation without official build system run: $CC -O2 -Wall -Werror lib/*{,/*}.c programs/{gzip,prog_util,tgetopt}.c -o libdeflate-gzip @@ -287,5 +288,6 @@ jobs: sudo apt-get install -y clang llvm - name: Fuzz run: | + sudo sysctl kernel.randomize_va_space=0 # https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-14/+bug/2048768 scripts/libFuzzer/fuzz.sh --time=120 ${{matrix.sanitizer}} \ ${{matrix.target}}