-
Notifications
You must be signed in to change notification settings - Fork 25
66 lines (52 loc) · 1.46 KB
/
tsan.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Thread Sanitizer
on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup
run: |
sudo apt update
sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache
- name: Setup Clang
uses: pkgxdev/setup@v2
with:
+: clang@19
- run: clang --version
- name: Restore artifacts or setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ vars.VCPKG_GIT_COMMIT_ID }}
- name: Configure
run: cmake --preset=tsan
- name: Build
run: cmake --build build -j 2
- name: Run tests
working-directory: build
continue-on-error: true
run: ctest -VV
- name: Run TSAN on initialize
working-directory: build/src
continue-on-error: true
run: ./initialize --s -n32000 -t11 -o
- name: Run TSAN on cdt-opt
working-directory: build/src
continue-on-error: true
run: ./cdt-opt
- name: Run TSAN on cdt
working-directory: build/src
continue-on-error: true
run: ./cdt --s -n64 -t3 -a.6 -k1.1 -l.1 -p10