diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-03-22 13:39:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-24 11:04:59 +0100 |
commit | d03c4dc165628d74435b444bb2c2bc81668d5d32 (patch) | |
tree | 4c53e2ef2e78b10fc70042f513ab1cc9c52a7e73 | |
parent | 6366a6f80f26744bd01604ec5feebbbbed6c7d94 (diff) | |
download | curl-d03c4dc165628d74435b444bb2c2bc81668d5d32.tar.gz |
GHA: add a memory-sanitizer job
Closes #10815
-rw-r--r-- | .github/workflows/linux.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d1c1c6d8a..e752aefd3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -114,6 +114,16 @@ jobs: LIBS="-ldl -lubsan" --with-openssl --enable-debug --enable-websockets + - name: memory-sanitizer + install_packages: clang + install_steps: + configure: > + CC=clang + CFLAGS="-fsanitize=memory -Wformat -Werror=format-security -Werror=array-bounds -g" + LDFLAGS="-fsanitize=memory" + LIBS="-ldl" + --without-ssl --without-zlib --without-brotli --without-zstd --without-libpsl --without-nghttp2 --enable-debug --enable-websocketsx + - name: event-based install_packages: libssh-dev valgrind configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl @@ -296,6 +306,9 @@ jobs: - run: make V=1 name: 'make' + - run: ./src/curl -V + name: 'check curl -V output' + - run: make V=1 examples name: 'make examples' |