From 3d0a45d5dae3945919b48aedc005732bfae2fe3d Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 11 Jun 2020 14:21:02 +0200 Subject: [PATCH] ci: tweak the compilation options Build each build with tests (slow tests and fuzzer tests as well), and combine the LTO build with -O3. --- .github/workflows/ubuntu-build-check.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu-build-check.sh b/.github/workflows/ubuntu-build-check.sh index a2fade9de3..4b9f689047 100755 --- a/.github/workflows/ubuntu-build-check.sh +++ b/.github/workflows/ubuntu-build-check.sh @@ -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