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=(
|
ARGS=(
|
||||||
"--optimization=0"
|
"--optimization=0"
|
||||||
"--optimization=2"
|
"--optimization=2"
|
||||||
"--optimization=3"
|
|
||||||
"--optimization=s"
|
"--optimization=s"
|
||||||
"-Db_lto=true"
|
"--optimization=3 -Db_lto=true"
|
||||||
|
"--optimization=3 -Db_lto=false"
|
||||||
"-Db_ndebug=true"
|
"-Db_ndebug=true"
|
||||||
)
|
)
|
||||||
PACKAGES=(
|
PACKAGES=(
|
||||||
|
@ -100,7 +100,7 @@ for args in "${ARGS[@]}"; do
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
|
|
||||||
info "Checking build with $args"
|
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"
|
fatal "meson failed with $args"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue