From c10f7d91b7b4795067424df0e15911210850145e Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 16 Mar 2024 11:06:01 -0700 Subject: [PATCH] [ci] Work around asan actions bug (#6442) --- .github/workflows/sanitizers.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index cf4d1089f7..6cd7a9a407 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -26,8 +26,13 @@ jobs: ctest-flags: "" name: "${{ matrix.name }}" runs-on: ubuntu-22.04 - container: wpilib/roborio-cross-ubuntu:2024-22.04 + container: + image: wpilib/roborio-cross-ubuntu:2024-22.04 + options: --privileged steps: + - name: mmap rnd_bits workaround + run: sudo sysctl -w vm.mmap_rnd_bits=28 + - name: Install Dependencies run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java python-is-python3 clang-14 libprotobuf-dev protobuf-compiler ninja-build