Skip to content

Commit

Permalink
ci: really suppress maybe-uninitialized warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
evverx committed Jun 10, 2022
1 parent 4ed5c6f commit 1f2aeb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ success() { echo >&2 -e "\033[32;1m$1\033[0m"; }
ARGS=()

if [[ "$COMPILER" == gcc ]]; then
additional_meson_args=-Dfuzz-tests=false
c_args="-finline-limit=1000 -Wno-maybe-uninitialized"
ARGS+=("--optimization=2 -Dc_args='$c_args' -Dcpp_args='$c_args'")
fi
Expand Down Expand Up @@ -131,7 +132,7 @@ for args in "${ARGS[@]}"; do
# It can be safely removed from the CI since it isn't actually used anywhere to test anything.
find . -type f -name meson.build -exec sed -i '/install_tag/d' '{}' '+'
if [[ "$LINKER" != lld ]]; then
additional_meson_args="--fatal-meson-warnings"
additional_meson_args+=" --fatal-meson-warnings"
fi
info "Checking build with $args"
# shellcheck disable=SC2086
Expand Down

0 comments on commit 1f2aeb7

Please sign in to comment.