From 0e1f36b65d98dfcf6bdf076c5b4ec6bbc40e3435 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Wed, 2 Mar 2022 16:29:53 -0800 Subject: [PATCH] Enable cpplint check in github actions CI (#198) * Suppress windows warnings Signed-off-by: Steve Peters --- .github/workflows/ci.yml | 2 ++ src/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e36175c3..c95c3956 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,3 +23,5 @@ jobs: - name: Compile and test id: ci uses: ignition-tooling/action-ignition-ci@focal + with: + cpplint-enabled: true diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 53c2782c..451d9bc2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -27,6 +27,7 @@ if (MSVC) # TODO(louise) Remove this once warnings are suppressed in ign-rendering set_source_files_properties( ${rendering_sources} + SegmentationCameraSensor.cc COMPILE_FLAGS "/wd4251" ) endif()