From a34ac82b0223cce8da2dd958459d5b8169781a46 Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Wed, 20 Mar 2024 13:38:15 +0100 Subject: [PATCH] CI: Fix github error for sanitizer test. The issue described at: https://github.com/tpm2-software/tpm2-tss/issues/2792 is temporally fixed by adding: "run: sudo sysctl vm.mmap_rnd_bits=28" in ./github/workflow/main.yml Signed-off-by: Juergen Repp --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a8e19a2e..ee87d2044 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v2 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -31,6 +33,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v2 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -49,6 +53,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v2 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -69,6 +75,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v2 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Coverity Action uses: tpm2-software/ci/coverityScan@main