From c6864637fb1a8592eca726d3b9d89c4fe9b13dd8 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 17 Sep 2023 19:47:55 +0200 Subject: [PATCH] Add: [GitHub] also test if release builds without asserts are warning-free (#11309) --- .github/workflows/ci-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 677fc03db4..dfdfbf0371 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -73,10 +73,15 @@ jobs: fail-fast: false matrix: include: - - name: Clang + - name: Clang - Debug compiler: clang cxxcompiler: clang++ libraries: libsdl2-dev + - name: Clang - Release + compiler: clang + cxxcompiler: clang++ + libraries: libsdl2-dev + extra-cmake-parameters: -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPTION_USE_ASSERTS=OFF - name: GCC - SDL2 compiler: gcc cxxcompiler: g++