From 5a51d654a790775abf671b8558572e2d98fba9dc Mon Sep 17 00:00:00 2001 From: Nicolas Morales Date: Mon, 3 Jun 2024 13:29:34 -0700 Subject: [PATCH] #338: make CI stricter in warnings with GCC and clang --- .github/workflows/cmake.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 308ef2eb..581d32f1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -16,11 +16,13 @@ jobs: include: - compiler_driver: g++-9 compiler_prefix: /usr/bin + cxx_flags_extra: "-Werror -Wall" - compiler_driver: g++-10 compiler_prefix: /usr/bin + cxx_flags_extra: "-Werror -Wall" - compiler_driver: clang++ compiler_prefix: /usr/bin - cxx_flags_extra: "-stdlib=libc++" + cxx_flags_extra: "-stdlib=libc++ -Werror -Wall" - compiler_driver: icpx compiler_prefix: /opt/intel/oneapi/compiler/latest/linux/bin # To get new URL, look here: