Skip to content

Commit

Permalink
Merge pull request #2850 from cgwalters/ci-no-error-deprecated-declar…
Browse files Browse the repository at this point in the history
…ations

ci: Turn off errors for deprecated-declarations
  • Loading branch information
jmarrero committed Apr 26, 2023
2 parents 90f7c7b + 64aa5af commit 9c548d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci/build-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if test -x /usr/bin/clang; then
if grep -q -e 'static inline.*_GLIB_AUTOPTR_LIST_FUNC_NAME' /usr/include/glib-2.0/glib/gmacros.h; then
echo 'Skipping clang check, see https://bugzilla.gnome.org/show_bug.cgi?id=796346'
else
export CFLAGS="-Wall -Werror ${CFLAGS:-}"
export CFLAGS="-Wall -Werror -Wno-error=deprecated-declarations ${CFLAGS:-}"
git clean -dfx && git submodule foreach git clean -dfx
export CC=clang
build
Expand Down
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ esac

# always fail on warnings; https://github.com/ostreedev/ostree/pull/971
# NB: this disables the default set of flags from configure.ac
export CFLAGS="-Wall -Werror ${CFLAGS:-}"
export CFLAGS="-Wall -Werror -Wno-error=deprecated-declarations ${CFLAGS:-}"

build --enable-gtk-doc ${CONFIGOPTS:-}
5 changes: 0 additions & 5 deletions ci/libbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ pkg_install_if_os() {
pkg_install_buildroot() {
case "${OS_ID}" in
fedora)
# https://github.com/projectatomic/rpm-ostree/pull/1889/commits/9ff611758bea22b0ad4892cc16182dd1f7f47e89
# https://fedoraproject.org/wiki/Common_F30_bugs#Conflicts_between_fedora-release_packages_when_installing_package_groups
if rpm -q fedora-release-container; then
dnf -y swap fedora-release{-container,}
fi
pkg_install dnf-plugins-core @buildsys-build;;
*) fatal "pkg_install_buildroot(): Unhandled OS ${OS_ID}";;
esac
Expand Down

0 comments on commit 9c548d8

Please sign in to comment.