Skip to content

Commit 9bbae61

Browse files
willcl-arkm3dwards
andcommitted
ci: port tsan-depends
Co-authored-by: Max Edwards <[email protected]>
1 parent bf7d536 commit 9bbae61

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,12 @@ jobs:
481481
timeout-minutes: 120
482482
file-env: './ci/test/00_setup_env_native_tidy.sh'
483483

484+
- name: 'TSan, depends, no gui'
485+
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
486+
fallback-runner: 'ubuntu-24.04'
487+
timeout-minutes: 120
488+
file-env: './ci/test/00_setup_env_native_tsan.sh'
489+
484490
steps:
485491
- name: Checkout
486492
uses: actions/checkout@v5
@@ -503,6 +509,11 @@ jobs:
503509
# so any settings will need to be written to the settings env file:
504510
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
505511

512+
- name: Set mmap_rnd_bits
513+
if: ${{ env.CONTAINER_NAME == 'ci_native_tsan' }}
514+
# Prevents crashes due to high ASLR entropy
515+
run: sudo sysctl -w vm.mmap_rnd_bits=28
516+
506517
- name: CI script
507518
run: ./ci/test_run_all.sh
508519

0 commit comments

Comments
 (0)