summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2021-01-10 16:39:24 +0100
committerLuca Boccassi <bluca@debian.org>2021-01-10 22:16:38 +0100
commitca0f86d16a5b3d70a27cef82c4fa91310d70b1c2 (patch)
treec3e8346089fa7c5a5ce583abf0c1b3fc15537a1d /.github/workflows
parentbpf: do not use structured initialization for bpf_attr (diff)
downloadsystemd-ca0f86d16a5b3d70a27cef82c4fa91310d70b1c2.tar.xz
systemd-ca0f86d16a5b3d70a27cef82c4fa91310d70b1c2.zip
ci: do not build with --optimization=1 with Clang
Diffstat (limited to '.github/workflows')
-rwxr-xr-x.github/workflows/ubuntu-unit-tests.sh3
1 files changed, 1 insertions, 2 deletions
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
;;