Browse Source

Build with ultra-strict flags and Werror on CI

zrythm_meson
David Robillard 2 years ago
parent
commit
e639c07824
  1. 30
      .gitlab-ci.yml

30
.gitlab-ci.yml

@ -17,7 +17,7 @@ variables: @@ -17,7 +17,7 @@ variables:
arm32_dbg:
<<: *build_definition
image: lv2plugin/debian-arm32
script: python ./waf configure build -dsT
script: python ./waf configure build -dST --werror
variables:
CC: "arm-linux-gnueabihf-gcc"
CXX: "arm-linux-gnueabihf-g++"
@ -32,7 +32,7 @@ test:arm32_dbg: @@ -32,7 +32,7 @@ test:arm32_dbg:
arm32_rel:
<<: *build_definition
image: lv2plugin/debian-arm32
script: python ./waf configure build -sT
script: python ./waf configure build -ST --werror
variables:
CC: "arm-linux-gnueabihf-gcc"
CXX: "arm-linux-gnueabihf-g++"
@ -47,7 +47,7 @@ test:arm32_rel: @@ -47,7 +47,7 @@ test:arm32_rel:
arm64_dbg:
<<: *build_definition
image: lv2plugin/debian-arm64
script: python ./waf configure build -dsT
script: python ./waf configure build -dST --werror
variables:
CC: "aarch64-linux-gnu-gcc"
CXX: "aarch64-linux-gnu-g++"
@ -62,7 +62,7 @@ test:arm64_dbg: @@ -62,7 +62,7 @@ test:arm64_dbg:
arm64_rel:
<<: *build_definition
image: lv2plugin/debian-arm64
script: python ./waf configure build -sT
script: python ./waf configure build -ST --werror
variables:
CC: "aarch64-linux-gnu-gcc"
CXX: "aarch64-linux-gnu-g++"
@ -77,7 +77,7 @@ test:arm64_rel: @@ -77,7 +77,7 @@ test:arm64_rel:
x64_dbg:
<<: *build_definition
image: lv2plugin/debian-x64
script: python ./waf configure build -dsT --docs
script: python ./waf configure build -dST --werror --docs
test:x64_dbg:
<<: *test_definition
@ -94,7 +94,7 @@ test:x64_dbg: @@ -94,7 +94,7 @@ test:x64_dbg:
x64_rel:
<<: *build_definition
image: lv2plugin/debian-x64
script: python ./waf configure build -sT
script: python ./waf configure build -ST --werror
test:x64_rel:
<<: *test_definition
@ -106,7 +106,7 @@ test:x64_rel: @@ -106,7 +106,7 @@ test:x64_rel:
x64_static:
<<: *build_definition
image: lv2plugin/debian-x64
script: python ./waf configure build -sT --no-posix --static-progs
script: python ./waf configure build -ST --werror --no-posix --static-progs
test:x64_static:
<<: *test_definition
@ -118,7 +118,7 @@ test:x64_static: @@ -118,7 +118,7 @@ test:x64_static:
mingw32_dbg:
<<: *build_definition
image: lv2plugin/debian-mingw32
script: python ./waf configure build -dsT --no-coverage
script: python ./waf configure build -dST --werror --no-coverage
variables:
CC: "i686-w64-mingw32-gcc"
CXX: "i686-w64-mingw32-g++"
@ -126,7 +126,7 @@ mingw32_dbg: @@ -126,7 +126,7 @@ mingw32_dbg:
mingw32_rel:
<<: *build_definition
image: lv2plugin/debian-mingw32
script: python ./waf configure build -sT --no-coverage
script: python ./waf configure build -ST --werror --no-coverage
variables:
CC: "i686-w64-mingw32-gcc"
CXX: "i686-w64-mingw32-g++"
@ -135,7 +135,7 @@ mingw32_rel: @@ -135,7 +135,7 @@ mingw32_rel:
mingw64_dbg:
<<: *build_definition
image: lv2plugin/debian-mingw64
script: python ./waf configure build -dsT --no-coverage
script: python ./waf configure build -dST --werror --no-coverage
variables:
CC: "x86_64-w64-mingw32-gcc"
CXX: "x86_64-w64-mingw32-g++"
@ -143,7 +143,7 @@ mingw64_dbg: @@ -143,7 +143,7 @@ mingw64_dbg:
mingw64_rel:
<<: *build_definition
image: lv2plugin/debian-mingw64
script: python ./waf configure build -sT --no-coverage
script: python ./waf configure build -ST --werror --no-coverage
variables:
CC: "x86_64-w64-mingw32-gcc"
CXX: "x86_64-w64-mingw32-g++"
@ -151,7 +151,7 @@ mingw64_rel: @@ -151,7 +151,7 @@ mingw64_rel:
mac_dbg:
<<: *build_definition
script: python ./waf configure build -dsT --no-coverage
script: python ./waf configure build -dST --werror --no-coverage
tags: [macos]
test:mac_dbg:
@ -163,7 +163,7 @@ test:mac_dbg: @@ -163,7 +163,7 @@ test:mac_dbg:
mac_rel:
<<: *build_definition
script: python ./waf configure build -sT --no-coverage
script: python ./waf configure build -ST --werror --no-coverage
tags: [macos]
test:mac_rel:
@ -175,7 +175,7 @@ test:mac_rel: @@ -175,7 +175,7 @@ test:mac_rel:
win_dbg:
<<: *build_definition
script: python ./waf configure build -dT --no-coverage
script: python ./waf configure build -dST --no-coverage
tags: [windows,msvc,python]
test:win_dbg:
@ -187,7 +187,7 @@ test:win_dbg: @@ -187,7 +187,7 @@ test:win_dbg:
win_rel:
<<: *build_definition
script: python ./waf configure build -T --no-coverage
script: python ./waf configure build -ST --no-coverage
tags: [windows,msvc,python]
test:win_rel:

Loading…
Cancel
Save