Skip to content

Commit

Permalink
NJS: apply the same workaround in msan as for asan job
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed May 23, 2024
1 parent 15d6c1f commit 18489f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/njs-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ jobs:
- name: checkout v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Fix kernel mmap rnd bits
# Asan in ubuntu 22.04 is incompatible with high-entropy ASLR in much
# newer kernels using leading to random crashes: https://reviews.llvm.org/D148280
run: sudo sysctl vm.mmap_rnd_bits=28

- name: Build pcre2
run: |
sudo sed -E -i 's,^# deb-src(.*),deb-src \1,' /etc/apt/sources.list
Expand Down

0 comments on commit 18489f1

Please sign in to comment.