ci: port tsan-depends

Co-authored-by: Max Edwards <youwontforgetthis@gmail.com>
This commit is contained in:
will
2025-08-05 14:41:09 +01:00
parent bf7d536452
commit 9bbae61e3b

View File

@@ -481,6 +481,12 @@ jobs:
timeout-minutes: 120 timeout-minutes: 120
file-env: './ci/test/00_setup_env_native_tidy.sh' file-env: './ci/test/00_setup_env_native_tidy.sh'
- name: 'TSan, depends, no gui'
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_tsan.sh'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v5
@@ -503,6 +509,11 @@ jobs:
# so any settings will need to be written to the settings env file: # so any settings will need to be written to the settings env file:
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
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' }}
# Prevents crashes due to high ASLR entropy
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: CI script - name: CI script
run: ./ci/test_run_all.sh run: ./ci/test_run_all.sh