From ca0f86d16a5b3d70a27cef82c4fa91310d70b1c2 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 10 Jan 2021 15:39:24 +0000 Subject: ci: do not build with --optimization=1 with Clang --- .github/workflows/ubuntu-unit-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ubuntu-unit-tests.sh b/.github/workflows/ubuntu-unit-tests.sh index 831eab97f8..705b147b96 100755 --- a/.github/workflows/ubuntu-unit-tests.sh +++ b/.github/workflows/ubuntu-unit-tests.sh @@ -41,9 +41,8 @@ for phase in "${PHASES[@]}"; do if [[ "$phase" = "RUN_CLANG" ]]; then export CC=clang export CXX=clang++ - MESON_ARGS=(--optimization=1) fi - meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dman=true "${MESON_ARGS[@]}" build + meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dman=true build ninja -C build -v meson test -C build --print-errorlogs ;; -- cgit v1.2.3