Skip to content

Commit

Permalink
ci: reduce ASLR entropy
Browse files Browse the repository at this point in the history
The latest GH Action runners started using 32-bit entropy for ASLR,
which makes it incompatible with llvm-14. This was fixed in later llvm
releases, but these aren't available on Ubuntu Jammy (22.04). Let's
reduce the ASLR entropy to 28-bit, which should make llvm happy again,
until the issue is resolved.

See: actions/runner-images#9491
  • Loading branch information
mrc0mmand authored and jamacku committed Jun 25, 2024
1 parent 7204069 commit df87420
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
steps:
- name: Repository checkout
uses: actions/checkout@v1
# FIXME: drop once https://github.com/actions/runner-images/issues/9491 is resolved
- name: Reduce ASLR entropy
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: Install build dependencies
run: sudo -E .github/workflows/unit_tests.sh SETUP
- name: Build & test (${{ env.CENTOS_RELEASE }} / ${{ matrix.phase }})
Expand Down

0 comments on commit df87420

Please sign in to comment.