mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
ci: tweak the compilation options
Build each build with tests (slow tests and fuzzer tests as well), and combine the LTO build with -O3.
This commit is contained in:
parent
4e1a13db89
commit
3d0a45d5da
6
.github/workflows/ubuntu-build-check.sh
vendored
6
.github/workflows/ubuntu-build-check.sh
vendored
@ -9,9 +9,9 @@ success() { echo >&2 -e "\033[32;1m$1\033[0m"; }
|
||||
ARGS=(
|
||||
"--optimization=0"
|
||||
"--optimization=2"
|
||||
"--optimization=3"
|
||||
"--optimization=s"
|
||||
"-Db_lto=true"
|
||||
"--optimization=3 -Db_lto=true"
|
||||
"--optimization=3 -Db_lto=false"
|
||||
"-Db_ndebug=true"
|
||||
)
|
||||
PACKAGES=(
|
||||
@ -100,7 +100,7 @@ for args in "${ARGS[@]}"; do
|
||||
SECONDS=0
|
||||
|
||||
info "Checking build with $args"
|
||||
if ! AR="$AR" CC="$CC" CXX="$CXX" meson --werror $args build; then
|
||||
if ! AR="$AR" CC="$CC" CXX="$CXX" meson -Dtests=unsafe -Dslow-tests=true --werror $args build; then
|
||||
fatal "meson failed with $args"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user