From 6bcf41e173e7fa7ef4dbaf5a73b2f606a087b6ef Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Wed, 20 Mar 2024 13:18:00 +0100 Subject: [PATCH] CI: fix error in tests with sanitizer error on github. To fix this error "run: sudo sysctl vm.mmap_rnd_bits=28" is temporally added to ./github/workflow/main.yml Addresses: #2792 Signed-off-by: Juergen Repp --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ff15d89d8..1c7fadd66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -33,6 +35,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -52,6 +56,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -74,6 +80,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -93,6 +101,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -112,6 +122,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Action uses: tpm2-software/ci/runCI@main @@ -151,6 +163,8 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: fix-sanitizer + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Launch Coverity Action uses: tpm2-software/ci/coverityScan@main