Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-vlc@jannau.net>2018-11-21 01:29:26 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-11-21 01:43:19 +0300
commitc5622d8912e4bae964a94a594503536629b61d09 (patch)
treeb961f455513cdd8b4507a317dfbd303df7c7b705 /.gitlab-ci.yml
parent32accaa47f94a243e7e8c6e1783751027a4c7fe0 (diff)
CI: use meson's '--werror' instead of CFLAGS
This catches the redefinition of _WIN32_WINNT warnings in the windows jobs.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44a4ac2..220389a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,7 +9,7 @@ build-debian:
- debian
- amd64
script:
- - env CFLAGS='-Werror' meson build --buildtype release
+ - meson build --buildtype release --werror
- ninja -C build
- cd build && meson test -v
@@ -20,7 +20,7 @@ build-debian-static:
- debian
- amd64
script:
- - env CFLAGS='-Werror' meson build --buildtype release --default-library static
+ - meson build --buildtype release --default-library static --werror
- ninja -C build
- cd build && meson test -v
@@ -30,12 +30,12 @@ build-win32:
tags:
- win32
script:
- - env CFLAGS='-Werror'
- meson build --buildtype release
- --libdir lib
- --prefix "$(pwd)/build/dav1d_install"
- --cross-file /opt/crossfiles/i686-w64-mingw32.meson
- -Ddefault_library=both
+ - meson build --buildtype release
+ --werror
+ --libdir lib
+ --prefix "$(pwd)/build/dav1d_install"
+ --cross-file /opt/crossfiles/i686-w64-mingw32.meson
+ -Ddefault_library=both
- ninja -C build
- ninja -C build install
artifacts:
@@ -50,12 +50,12 @@ build-win64:
tags:
- win64
script:
- - env CFLAGS='-Werror'
- meson build --buildtype release
- --libdir lib
- --prefix "$(pwd)/build/dav1d_install"
- --cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
- -Ddefault_library=both
+ - meson build --buildtype release
+ --werror
+ --libdir lib
+ --prefix "$(pwd)/build/dav1d_install"
+ --cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
+ -Ddefault_library=both
- ninja -C build
- ninja -C build install
artifacts:
@@ -70,7 +70,7 @@ build-debian-aarch64:
- aarch64
- debian
script:
- - env CFLAGS='-Werror' meson build --buildtype release
+ - meson build --buildtype release --werror
- ninja -C build
- cd build && meson test -v
@@ -90,7 +90,7 @@ build-macos:
tags:
- macos
script:
- - env CFLAGS='-Werror' meson build --buildtype release -Ddefault_library=both
+ - meson build --buildtype release -Ddefault_library=both --werror
- ninja -C build
- cd build && meson test -v
@@ -101,7 +101,7 @@ build-debian-werror:
- aarch64
- debian
script:
- - env CC='clang-7' CFLAGS='-Werror' meson build --buildtype debug
+ - env CC='clang-7' meson build --buildtype debug --werror
- ninja -C build
test-debian: