Skip to content

Commit

Permalink
GHA-linux: add a sanitizer builda
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Mar 21, 2023
1 parent b16d1fa commit 188694d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/linux.yml
Expand Up @@ -104,6 +104,16 @@ jobs:
install_steps: openssl3
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets

- name: openssl-sanitizer
install_packages: zlib1g-dev libssh2-dev
install_steps: gcc-11 openssl3 pytest
configure: |
CC=clang
CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g"
LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64 -fsanitize=memory,undefined -fno-sanitize-recover=undefined,integer"
LIBS="-lubsan"
--with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: event-based
install_packages: libssh-dev
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
Expand Down

0 comments on commit 188694d

Please sign in to comment.