Build each build with tests (slow tests and fuzzer tests as well), and
combine the LTO build with -O3.
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=(
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