Skip to content

Commit

Permalink
CI: fix error in tests with sanitizer error on github.
Browse files Browse the repository at this point in the history
To fix this error "run: sudo sysctl vm.mmap_rnd_bits=28" is temporally
added to ./github/workflow/main.yml
Addresses: tpm2-software#2792

Signed-off-by: Juergen Repp <[email protected]>
  • Loading branch information
JuergenReppSIT committed Mar 20, 2024
1 parent c68632b commit 20de48f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 20de48f

Please sign in to comment.