mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
ci: do not build with --optimization=1 with Clang
This commit is contained in:
parent
9ca600e2bf
commit
ca0f86d16a
3
.github/workflows/ubuntu-unit-tests.sh
vendored
3
.github/workflows/ubuntu-unit-tests.sh
vendored
@ -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
|
||||
;;
|
||||
|
@ -62,9 +62,8 @@ for phase in "${PHASES[@]}"; do
|
||||
RUN|RUN_GCC|RUN_CLANG)
|
||||
if [[ "$phase" = "RUN_CLANG" ]]; then
|
||||
ENV_VARS="-e CC=clang -e CXX=clang++"
|
||||
MESON_ARGS="--optimization=1"
|
||||
fi
|
||||
docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true $MESON_ARGS build
|
||||
docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true build
|
||||
$DOCKER_EXEC ninja -v -C build
|
||||
docker exec -e "TRAVIS=$TRAVIS" -it $CONT_NAME ninja -C build test
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user