mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
ci: port msan-depends
Github-Pull: #32989
Rebased-From: d290a8e6ea
Co-authored-by: Max Edwards <youwontforgetthis@gmail.com>
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -364,6 +364,12 @@ jobs:
|
|||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
||||||
|
|
||||||
|
- name: 'MSan, depends'
|
||||||
|
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
|
||||||
|
fallback-runner: 'ubuntu-24.04'
|
||||||
|
timeout-minutes: 120
|
||||||
|
file-env: './ci/test/00_setup_env_native_msan.sh'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
@@ -387,7 +393,7 @@ jobs:
|
|||||||
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
|
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
|
||||||
|
|
||||||
- name: Set mmap_rnd_bits
|
- name: Set mmap_rnd_bits
|
||||||
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' }}
|
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' || env.CONTAINER_NAME == 'ci_native_msan' }}
|
||||||
# Prevents crashes due to high ASLR entropy
|
# Prevents crashes due to high ASLR entropy
|
||||||
run: sudo sysctl -w vm.mmap_rnd_bits=28
|
run: sudo sysctl -w vm.mmap_rnd_bits=28
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user