ci: set meson to build with -Werror

This will help catch any new warnings added in CI.
pull/240/head
Dylan Baker 2022-07-29 10:26:26 -07:00
parent 4a2c9c285f
commit bf307c1d95
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ jobs:
- name: Build
run: |
meson _build
meson _build -Dwerror=true
meson compile -C _build
- name: Run tests
@ -98,7 +98,7 @@ jobs:
- name: Build
run: |
meson _build
meson _build -Dwerror=true
meson compile -C _build
- name: Run tests

View File

@ -4,7 +4,7 @@ pipeline:
commands:
- apt-get update
- apt-get install -y kyua atf-sh build-essential meson
- meson _build
- meson _build -Dwerror=true
- meson compile -C _build
- meson test -v -C _build
when:
@ -30,7 +30,7 @@ pipeline:
image: alpine
commands:
- apk add -U --no-cache kyua atf build-base meson
- meson _build
- meson _build -Dwerror=true
- meson compile -C _build
- meson test -v -C _build
when: