mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
travis: treat warnings as errors while building systemd
This commit is contained in:
parent
631e393a21
commit
b0395ac5cd
@ -45,13 +45,13 @@ for phase in "${PHASES[@]}"; do
|
||||
RUN)
|
||||
info "Run phase"
|
||||
# Build systemd
|
||||
$DOCKER_EXEC meson -Dslow-tests=true build
|
||||
$DOCKER_EXEC meson --werror -Dslow-tests=true build
|
||||
$DOCKER_EXEC ninja -v -C build
|
||||
$DOCKER_EXEC ninja -C build test
|
||||
;;
|
||||
RUN_ASAN)
|
||||
$DOCKER_EXEC git clean -dxff
|
||||
$DOCKER_EXEC meson -Db_sanitize=address,undefined build
|
||||
$DOCKER_EXEC meson --werror -Db_sanitize=address,undefined build
|
||||
$DOCKER_EXEC ninja -v -C build
|
||||
|
||||
# Never remove halt_on_error from UBSAN_OPTIONS. See https://github.com/systemd/systemd/commit/2614d83aa06592aedb.
|
||||
|
Loading…
x
Reference in New Issue
Block a user