Skip to content

Commit 049a7ab

Browse files
committed
Disable the memory sanitizer in github actions.
1 parent 06b8523 commit 049a7ab

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77

88
jobs:
99
build_gcc:
10-
name: 🐧 GCC build
10+
name: GCC build
1111
runs-on: ubuntu-18.04 # Update Ubuntu version here.
1212

1313
steps:
@@ -32,7 +32,7 @@ jobs:
3232
ctest --verbose
3333
3434
build_clang:
35-
name: 🐧 Clang build
35+
name: Clang build
3636
runs-on: ubuntu-18.04 # Update Ubuntu version here.
3737

3838
steps:

.github/workflows/check-sanitizers.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77

88
jobs:
99
address_sanitizer:
10-
name: 📊 Address sanitizer
10+
name: Address sanitizer
1111
runs-on: ubuntu-20.04 # Update Ubuntu version here.
1212

1313
steps:
@@ -28,7 +28,7 @@ jobs:
2828
ctest --verbose
2929
3030
thread_sanitizer:
31-
name: 📊 Thread sanitizer
31+
name: Thread sanitizer
3232
runs-on: ubuntu-20.04 # Update Ubuntu version here.
3333

3434
steps:
@@ -49,7 +49,7 @@ jobs:
4949
ctest --verbose
5050
5151
undefined_sanitizer:
52-
name: 📊 Undefined sanitizer
52+
name: Undefined behaviour sanitizer
5353
runs-on: ubuntu-20.04 # Update Ubuntu version here.
5454

5555
steps:
@@ -70,7 +70,7 @@ jobs:
7070
ctest --verbose
7171
7272
leak_sanitizer:
73-
name: 📊 Leak sanitizer
73+
name: Leak sanitizer
7474
runs-on: ubuntu-20.04 # Update Ubuntu version here.
7575

7676
steps:
@@ -90,23 +90,23 @@ jobs:
9090
cd tests
9191
ctest --verbose
9292
93-
memory_sanitizer:
94-
name: 📊 Memory sanitizer
95-
runs-on: ubuntu-20.04 # Update Ubuntu version here.
96-
97-
steps:
98-
- uses: actions/checkout@v2
99-
100-
- name: Install Conan
101-
shell: bash
102-
run: |
103-
sudo pip install conan
104-
105-
- name: Run memory sanitizer
106-
shell: bash
107-
run: |
108-
cd build
109-
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DACTIVATE_SANITIZERS="Memory" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DCMAKE_C_COMPILER="/usr/bin/clang"
110-
cmake --build . --config $BUILD_TYPE
111-
cd tests
112-
ctest --verbose
93+
# memory_sanitizer:
94+
# name: Memory sanitizer
95+
# runs-on: ubuntu-20.04 # Update Ubuntu version here.
96+
#
97+
# steps:
98+
# - uses: actions/checkout@v2
99+
#
100+
# - name: Install Conan
101+
# shell: bash
102+
# run: |
103+
# sudo pip install conan
104+
#
105+
# - name: Run memory sanitizer
106+
# shell: bash
107+
# run: |
108+
# cd build
109+
# cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DACTIVATE_SANITIZERS="Memory" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DCMAKE_C_COMPILER="/usr/bin/clang"
110+
# cmake --build . --config $BUILD_TYPE
111+
# cd tests
112+
# ctest --verbose

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ if(DEFINED ACTIVATE_SANITIZERS)
186186
set(CMAKE_CXX_FLAGS_TSAN
187187
"-fsanitize=thread -g -O1")
188188

189-
# Undefined Behaviour sanitizer
189+
# Undefined behaviour sanitizer
190190
set(CMAKE_C_FLAGS_UBSAN
191191
"-fsanitize=undefined")
192192
set(CMAKE_CXX_FLAGS_UBSAN

0 commit comments

Comments
 (0)