mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix CI builds for Ubuntu 22.04 (#1361)
Ubuntu 22.04 provides LLVM 14, which links an ASan version incompatible with high-entropy ASLR in newer Linux kernels that GitHub Actions runners use.
This commit is contained in:
10
.github/workflows/testing.yml
vendored
10
.github/workflows/testing.yml
vendored
@@ -24,9 +24,15 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
./.github/scripts/install_deps.sh ${{ matrix.os }}
|
./.github/scripts/install_deps.sh ${{ matrix.os }}
|
||||||
|
# Ubuntu 22.04 provides LLVM 14, which links an ASan version incompatible with
|
||||||
|
# high-entropy ASLR in newer Linux kernels that GitHub Actions runners use.
|
||||||
|
# https://github.com/actions/runner-images/issues/9491
|
||||||
|
- name: Fix Ubuntu 22.04 ASLR for LLVM 14
|
||||||
|
if: matrix.os == 'ubuntu-22.04'
|
||||||
|
run: |
|
||||||
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
# Export `bison` to allow using the version we install from Homebrew,
|
# Export `bison` to allow using the version we install from Homebrew,
|
||||||
# instead of the outdated one preinstalled on macOS (which doesn't
|
# instead of the outdated 2.3 one preinstalled on macOS.
|
||||||
# even support `-Wall`...).
|
|
||||||
- name: Build & install using Make
|
- name: Build & install using Make
|
||||||
if: matrix.buildsys == 'make'
|
if: matrix.buildsys == 'make'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user