This repository was archived by the owner on Mar 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
87 lines (81 loc) · 3.62 KB
/
Copy pathstack_counting.yaml
File metadata and controls
87 lines (81 loc) · 3.62 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Cmake
on:
workflow_call:
env:
BUILD_TYPE_DEBUG: Debug
BUILD_TYPE_RELEASE: Release
CLANG_15: clang++-15
jobs:
ubuntu-clang-15-debug-address-leak-undefined-sanitize:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Dependencies
uses: actions/cache@v2
with:
path: ~/.conan/data
key: ${{ runner.os }}-conan-${{ hashFiles('conanfile.txt') }}-stack-counting-address
- run: |
export BUILD_TYPE=${{env.BUILD_TYPE_DEBUG}}
./tools/install_deps.sh
- run: |
mkdir -p ${{github.workspace}}/build
cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=/bin/${{env.CLANG_15}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE_DEBUG}} \
-DCHECK_SANITIZE=ON -DENABLE_SANITIZER_ADDRESS=True -DENABLE_SANITIZER_LEAK=True -DENABLE_SANITIZER_UNDEFINED_BEHAVIOR=True
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_DEBUG}} --target stack_counting -- -j 2
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_DEBUG}} --target unit_test_stack_counting -- -j 2
- run: ${{github.workspace}}/build/bin/unit_test_stack_counting
--gtest_shuffle
--gtest_color=yes
ubuntu-clang-15-debug-thread-sanitize:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Dependencies
uses: actions/cache@v2
with:
path: ~/.conan/data
key: ${{ runner.os }}-conan-${{ hashFiles('conanfile.txt') }}-stack-counting-thread
- run: |
export BUILD_TYPE=${{env.BUILD_TYPE_DEBUG}}
./tools/install_deps.sh
- run: |
mkdir -p ${{github.workspace}}/build
cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=/bin/${{env.CLANG_15}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE_DEBUG}} \
-DCHECK_SANITIZE=ON -DENABLE_SANITIZER_THREAD=True
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_DEBUG}} --target stack_counting -- -j 2
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_DEBUG}} --target unit_test_stack_counting -- -j 2
- run: ${{github.workspace}}/build/bin/unit_test_stack_counting
--gtest_shuffle
--gtest_color=yes
ubuntu-clang-15-release:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Dependencies
uses: actions/cache@v2
with:
path: ~/.conan/data
key: ${{ runner.os }}-conan-${{ hashFiles('conanfile.txt') }}-stack-counting-release
- run: |
export BUILD_TYPE=${{env.BUILD_TYPE_RELEASE}}
./tools/install_deps.sh
- run: |
mkdir -p ${{github.workspace}}/build
cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=/bin/${{env.CLANG_15}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE_RELEASE}}
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_RELEASE}} --target stack_counting -- -j 2
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_RELEASE}} --target unit_test_stack_counting -- -j 2
# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE_RELEASE}} --target benchmark_stack_counting -- -j 2
- run: ${{github.workspace}}/build/bin/unit_test_stack_counting
--gtest_shuffle
--gtest_color=yes
# - run: ${{github.workspace}}/build/bin/benchmark_sync