summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-08-18 17:44:51 -0700
committerGitHub <noreply@github.com>2020-08-18 17:44:51 -0700
commit40f6a8a9354f335f9bbe05b1962172873c2913f0 (patch)
tree711cc44c3148dc336f8c9e445309ab02719116e2 /.github
parent95c04e0fb7ae5b9b0c92f66d707fa579114f1569 (diff)
downloadwabt-40f6a8a9354f335f9bbe05b1962172873c2913f0.tar.gz
wabt-40f6a8a9354f335f9bbe05b1962172873c2913f0.tar.bz2
wabt-40f6a8a9354f335f9bbe05b1962172873c2913f0.zip
Enable -Werror during CI (#1522)
Fixes: #1249
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
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