-
Notifications
You must be signed in to change notification settings - Fork 44
32 lines (30 loc) · 981 Bytes
/
linux-tsan.yml
File metadata and controls
32 lines (30 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Linux + Thread Sanitizer'
on:
workflow_call:
inputs:
run_build:
required: true
type: boolean
default: true
push:
branches: [ 'main']
jobs:
clang-tsan:
name: Thread Sanitizer Tests
runs-on: ubuntu-latest
container:
image: ghcr.io/vectorgrp/sil-kit-docker-build/sil-kit-ci-public-runner:main
if: (inputs.run_build == true) || (github.event_name == 'push')
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: relwithdebinfo
cmake-args: "-D SILKIT_BUILD_DASHBOARD=OFF \
-DCMAKE_C_COMPILER=clang-18 \
-DCMAKE_CXX_COMPILER=clang++-18 \
-DCMAKE_CXX_FLAGS='-fsanitize=thread -fno-omit-frame-pointer' \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO='-Og -g3'"
artifact-label: ${{ github.job }}