aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:23 -0400
committerDavid Robillard <d@drobilla.net>2023-04-06 07:19:10 -0400
commitf905bd8e17bfcee7240ee3174f5ed420043c8bad (patch)
tree0da35aa95bee7e21314af5cfdc5683d252efe009 /.gitlab-ci.yml
parent92f7c078250df898b24fce3af1ed6a9ae7d0c029 (diff)
downloadserd-f905bd8e17bfcee7240ee3174f5ed420043c8bad.tar.gz
serd-f905bd8e17bfcee7240ee3174f5ed420043c8bad.tar.bz2
serd-f905bd8e17bfcee7240ee3174f5ed420043c8bad.zip
Use new meson strict warning system
Meson includes warning_level=everything as of version 1.0.0, which supercedes maintaining redundant lists of warning flags here.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f327470..4d91add2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ dev:
stage: build
image: lv2plugin/debian-x64
script:
- - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=enabled -Dstrict=true -Dwerror=true -Db_coverage=true
+ - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=enabled -Dwarning_level=3 -Dwerror=true -Db_coverage=true
- ninja -C build test
- ninja -C build coverage-html
- mkdir -p build/doc/
@@ -34,14 +34,14 @@ static:
stage: build
image: lv2plugin/debian-x64
script:
- - meson setup build -Ddocs=disabled -Dstrict=true -Dwerror=true -Dstatic=true -Ddefault_library=static
+ - meson setup build -Ddocs=disabled -Dwarning_level=3 -Dwerror=true -Dstatic=true -Ddefault_library=static
- ninja -C build test
sanitize:
stage: build
image: lv2plugin/debian-x64-clang
script:
- - meson setup build -Db_lundef=false -Dc_std=c11 -Dbuildtype=plain -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build -Db_lundef=false -Dc_std=c11 -Dbuildtype=plain -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
variables:
CC: "clang"
@@ -56,7 +56,7 @@ arm32:
stage: build
image: lv2plugin/debian-arm32
script:
- - meson setup build --cross-file=/usr/share/meson/cross/arm-linux-gnueabihf.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build --cross-file=/usr/share/meson/cross/arm-linux-gnueabihf.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -65,7 +65,7 @@ arm64:
stage: build
image: lv2plugin/debian-arm64
script:
- - meson setup build --cross-file=/usr/share/meson/cross/aarch64-linux-gnu.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build --cross-file=/usr/share/meson/cross/aarch64-linux-gnu.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -74,7 +74,7 @@ x32:
stage: build
image: lv2plugin/debian-x32
script:
- - meson setup build --cross-file=/usr/share/meson/cross/i686-linux-gnu.ini -Dbuildtype=debug -Dstrict=true -Dwerror=true -Ddocs=disabled
+ - meson setup build --cross-file=/usr/share/meson/cross/i686-linux-gnu.ini -Dbuildtype=debug -Dwarning_level=3 -Dwerror=true -Ddocs=disabled
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -83,7 +83,7 @@ mingw32:
stage: build
image: lv2plugin/debian-mingw32
script:
- - meson setup build --cross-file=/usr/share/meson/cross/i686-w64-mingw32.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build --cross-file=/usr/share/meson/cross/i686-w64-mingw32.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -94,7 +94,7 @@ mingw64:
stage: build
image: lv2plugin/debian-mingw64
script:
- - meson setup build --cross-file=/usr/share/meson/cross/x86_64-w64-mingw32.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build --cross-file=/usr/share/meson/cross/x86_64-w64-mingw32.ini -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -107,7 +107,7 @@ freebsd:
stage: build
tags: [freebsd,meson]
script:
- - meson setup build -Dbuildtype=debug -Dstrict=true -Dwerror=true
+ - meson setup build -Dbuildtype=debug -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -116,7 +116,7 @@ mac:
stage: build
tags: [macos]
script:
- - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=3 -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test
@@ -125,7 +125,7 @@ win:
stage: build
tags: [windows,meson]
script:
- - meson setup build -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true
+ - meson setup build -Dbuildtype=debug -Ddocs=disabled -Dwarning_level=everything -Dwerror=true
- ninja -C build test
- meson configure -Dbuildtype=release build
- ninja -C build test