Skip to content

Commit

Permalink
ci: Workaround GitHub actions image issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisbonke committed Mar 18, 2024
1 parent 3e6d188 commit aaa988f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/abidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
run:
shell: bash
steps:
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are
# using leading to random crashes: https://reviews.llvm.org/D148280
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Install prerequisites
run: |
apt-get update
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
container:
image: ghcr.io/managarm/mlibc-crossers:latest
steps:
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are
# using leading to random crashes: https://reviews.llvm.org/D148280
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Install prerequisites
run: |
apt-get update
Expand Down Expand Up @@ -58,6 +63,11 @@ jobs:
container:
image: ghcr.io/managarm/mlibc-crossers:latest
steps:
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are
# using leading to random crashes: https://reviews.llvm.org/D148280
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Install prerequisites
run: |
apt-get update
Expand Down

0 comments on commit aaa988f

Please sign in to comment.