From 40f6a8a9354f335f9bbe05b1962172873c2913f0 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 18 Aug 2020 17:44:51 -0700 Subject: Enable -Werror during CI (#1522) Fixes: #1249 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6465db7d..00804dcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,11 +45,11 @@ jobs: - name: mkdir run: mkdir -p out - name: cmake - run: cmake .. -G Ninja + run: cmake .. -G Ninja -DWERROR=ON working-directory: out if: matrix.os != 'windows-latest' - name: cmake (windows) - run: cmake .. + run: cmake .. -DWERROR=ON working-directory: out if: matrix.os == 'windows-latest' - name: build -- cgit v1.2.3