analysis workflow, add undefined behaviour sanitizer test.

This commit is contained in:
W.C.A. Wijngaards 2021-06-24 11:11:16 +02:00
parent a807135373
commit a40bc40d0c

View file

@ -19,28 +19,32 @@ jobs:
# os: ubuntu-latest
# config: "--enable-debug --disable-flto"
# make_test: "yes"
# - name: Clang on Linux, clang-analysis
# - name: Clang-analyzer
# os: ubuntu-latest
# config: "CC=clang --enable-debug --disable-flto"
# make_test: "yes"
# clang_analysis: "yes"
- name: Clang on Linux, libevent, clang-analysis
os: ubuntu-latest
install_libevent: "yes"
config: "CC=clang --enable-debug --disable-flto --with-libevent"
make_test: "yes"
clang_analysis: "yes"
# - name: GCC on OS X
# - name: libevent
# os: ubuntu-latest
# install_libevent: "yes"
# config: "CC=clang --enable-debug --disable-flto --with-libevent"
# make_test: "yes"
# clang_analysis: "yes"
# - name: OS X
# os: macos-latest
# install_expat: "yes"
# config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
# make_test: "yes"
- name: Clang on OS X
os: macos-latest
install_expat: "yes"
config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
# - name: Clang on OS X
# os: macos-latest
# install_expat: "yes"
# config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
# make_test: "yes"
# clang_analysis: "yes"
- name: ubsan (gcc undefined behaviour sanitizer)
os: ubuntu-latest
config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto'
make_test: "yes"
clang_analysis: "yes"
steps:
- uses: actions/checkout@v2