CI: Use Debian stable again to build docs and run "make distcheck"

This reverts commit b458cb14c6, now that
the CI build jobs targeting Debian 11 pass (without compiler warnings).
merge-requests/721/head
David Ward 2022-04-21 00:48:22 -04:00
rodzic cc0d729e1f
commit 944bb49e56
1 zmienionych plików z 22 dodań i 24 usunięć

Wyświetl plik

@ -41,17 +41,31 @@ make-dist:
- ./configure $CONFIGURE_OPTS
- make -j2 -k $MAKE_FLAGS
# In addition to the regular compile check, the full Debian oldstable
# environment is used to keep some of the HTML documentation that's
# available from our website up-to-date.
# FIXME: Move this back to Debian stable once job failures are fixed.
debian-10-full:
image: $REGISTRY_HUB:debian-buster-full
variables:
CONFIGURE_OPTS: "$CONFIGURE_MINI $CONFIGURE_FULL"
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
<<: *compile_definition
debian-11-mini:
image: $REGISTRY_HUB:debian-bullseye-mini
variables:
CONFIGURE_OPTS: "$CONFIGURE_MINI"
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
<<: *compile_definition
allow_failure: true
# In addition to the regular compile check, the full Debian stable
# environment is used to keep some of the HTML documentation that's
# available from our website up-to-date.
debian-11-full:
image: $REGISTRY_HUB:debian-bullseye-full
variables:
CONFIGURE_OPTS: "$CONFIGURE_MINI $CONFIGURE_FULL"
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
<<: *compile_definition
after_script:
- make -C build/doc html-pages
- rm -rf lists && mkdir lists && mv build/doc/*.html lists/
@ -62,21 +76,6 @@ debian-10-full:
- lists
- doc/sanei-html
expire_in: 1 day
debian-11-mini:
image: $REGISTRY_HUB:debian-bullseye-mini
variables:
CONFIGURE_OPTS: "$CONFIGURE_MINI"
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
<<: *compile_definition
allow_failure: true
debian-11-full:
image: $REGISTRY_HUB:debian-bullseye-full
variables:
CONFIGURE_OPTS: "$CONFIGURE_MINI $CONFIGURE_FULL"
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
<<: *compile_definition
allow_failure: true
fedora-35-clang:
@ -110,15 +109,14 @@ ubuntu-20.04-lts:
# snapshot.
# Some HTML documentation derived from this project's source is also
# uploaded for use by our website so it uses the latest information.
# These artifacts come from the full compile job on Debian oldstable,
# It gets these artifacts from the full compile job on Debian stable,
# hence the dependency.
# FIXME: Move this back to Debian stable once job failures are fixed.
make-distcheck:
image: $REGISTRY_HUB:debian-buster-full
image: $REGISTRY_HUB:debian-bullseye-full
stage: snapshot
dependencies:
- debian-10-full
- debian-11-full
script:
- tar xzf sane-backends-*.tar.gz --strip-components=1
- rm sane-backends-*.tar.gz