forked from bblanchon/ArduinoJson
CI: fixed sanitizers errors not been reported
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -32,11 +32,11 @@ jobs:
|
|||||||
- gcc: "5"
|
- gcc: "5"
|
||||||
- gcc: "6"
|
- gcc: "6"
|
||||||
- gcc: "7"
|
- gcc: "7"
|
||||||
cxxflags: -fsanitize=leak
|
cxxflags: -fsanitize=leak -fno-sanitize-recover=all
|
||||||
- gcc: "8"
|
- gcc: "8"
|
||||||
cxxflags: -fsanitize=undefined
|
cxxflags: -fsanitize=undefined -fno-sanitize-recover=all
|
||||||
- gcc: "9"
|
- gcc: "9"
|
||||||
cxxflags: -fsanitize=address
|
cxxflags: -fsanitize=address -fno-sanitize-recover=all
|
||||||
- gcc: "10"
|
- gcc: "10"
|
||||||
steps:
|
steps:
|
||||||
- name: Install
|
- name: Install
|
||||||
@ -61,6 +61,8 @@ jobs:
|
|||||||
run: cmake --build .
|
run: cmake --build .
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ctest --output-on-failure -C Debug .
|
run: ctest --output-on-failure -C Debug .
|
||||||
|
env:
|
||||||
|
UBSAN_OPTIONS: print_stacktrace=1
|
||||||
|
|
||||||
clang:
|
clang:
|
||||||
name: Clang
|
name: Clang
|
||||||
@ -80,11 +82,11 @@ jobs:
|
|||||||
- clang: "6.0"
|
- clang: "6.0"
|
||||||
- clang: "7"
|
- clang: "7"
|
||||||
- clang: "8"
|
- clang: "8"
|
||||||
cxxflags: -fsanitize=leak
|
cxxflags: -fsanitize=leak -fno-sanitize-recover=all
|
||||||
- clang: "9"
|
- clang: "9"
|
||||||
cxxflags: -fsanitize=undefined
|
cxxflags: -fsanitize=undefined -fno-sanitize-recover=all
|
||||||
- clang: "10"
|
- clang: "10"
|
||||||
cxxflags: -fsanitize=address
|
cxxflags: -fsanitize=address -fno-sanitize-recover=all
|
||||||
steps:
|
steps:
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
@ -108,6 +110,8 @@ jobs:
|
|||||||
run: cmake --build .
|
run: cmake --build .
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ctest --output-on-failure -C Debug .
|
run: ctest --output-on-failure -C Debug .
|
||||||
|
env:
|
||||||
|
UBSAN_OPTIONS: print_stacktrace=1
|
||||||
|
|
||||||
xcode:
|
xcode:
|
||||||
name: XCode
|
name: XCode
|
||||||
|
Reference in New Issue
Block a user