From 407d66aa847c5cd36e63f5693054fe94d2687658 Mon Sep 17 00:00:00 2001 From: Hans Kristian Rosbach Date: Mon, 23 Dec 2024 14:44:37 +0100 Subject: [PATCH] Turn warnings to errors in CI, and turn on several new checks --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 02f98272..f78feea6 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -683,7 +683,7 @@ jobs: env: CC: ${{ matrix.compiler }} CXX: ${{ matrix.cxx-compiler }} - CFLAGS: ${{ matrix.cflags }} + CFLAGS: ${{ matrix.cflags }} ${{ runner.os != 'Windows' && '-Werror -Wall -Wextra -Wabi=11 -Wshadow -Wimplicit-function-declaration -Wno-discarded-qualifiers -Wcast-align -Wformat-security -Winit-self -Wlogical-op -Wnull-dereference -Wwrite-strings' || ''}} LDFLAGS: ${{ matrix.ldflags }} CI: true -- 2.47.2