From f5022cc1d4ca3a73d3e9703a7bf6548b862830ed Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Wed, 19 May 2021 17:36:55 +0200 Subject: [PATCH] GHA: check for warnings + address sanitizer --- .github/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2b2e14cb..364bb0dc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,9 +22,14 @@ jobs: CXX: clang++ - IMAGE: noetic-source CLANG_TIDY: true + CXXFLAGS: >- + -Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls + -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy -Wno-unused-but-set-parameter + - IMAGE: noetic-source + NAME: asan + TARGET_CMAKE_ARGS: -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer -O1" env: CATKIN_LINT: true - CXXFLAGS: "-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-deprecated-copy" UNDERLAY: /root/ws_moveit/install DOWNSTREAM_WORKSPACE: "github:ubi-agni/mtc_demos#master github:TAMS-Group/mtc_pour#master" CCACHE_DIR: ${{ github.workspace }}/.ccache