workflow: Build with UBSAN enabled

This commit is contained in:
Tatsuhiro Tsujikawa 2021-01-17 17:41:01 +09:00
parent 7ebab98e91
commit 2bf841e22a
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ jobs:
libc-ares-dev \
cmake \
cmake-data
echo 'CPPFLAGS=-fsanitize=address' >> $GITHUB_ENV
echo 'LDFLAGS=-fsanitize=address' >> $GITHUB_ENV
echo 'CPPFLAGS=-fsanitize=address,undefined -fno-sanitize-recover=undefined -g' >> $GITHUB_ENV
echo 'LDFLAGS=-fsanitize=address,undefined -fno-sanitize-recover=undefined' >> $GITHUB_ENV
- name: MacOS setup
if: runner.os == 'macOS'
run: |