Re: [PATCH v2 3/5] ci: use Debian instead of deprecated i386/ubuntu
- From
Ezekiel Newren <ezekielnewren@gmail.com>
- Date
- Oct 28, 2025, 19:17 UTC
- Message-ID
- <CAH=ZcbB3J2Jt5Najc8p3z1iaig_Q0S_t5hGWRN-4fNRVGggARQ@mail.gmail.com>
- In-Reply-To
- <20251024-b4-pks-rust-cbindgen-v2-3-4b4bd4f18490@pks.im>
On Fri, Oct 24, 2025 at 3:51 AM Patrick Steinhardt <ps@pks.im> wrote:
Show 91 quoted lines
> > Ubuntu has ended support for 32 bit platforms and is not maintaining any > release anymore that has 32 bit support. But we still use i386/ubuntu in > our CI pipeline to test for compatibility with 32 bit systems, even > though that specific image does not receive updates anymore. > > Besides being end-of-life, this image also doesn't have all packages > available to it anymore. This creates problems with a subsequent patch, > where we're about to pull in cbindgen for generating Rust to C bindings. > > Drop the Ubuntu image and use Debian instead, which continues to > maintain its 32 bit port. > > Signed-off-by: Patrick Steinhardt <ps@pks.im> > --- > .github/workflows/main.yml | 3 +-- > .gitlab-ci.yml | 2 +- > ci/install-dependencies.sh | 6 +++--- > ci/lib.sh | 2 +- > 4 files changed, 6 insertions(+), 7 deletions(-) > > diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml > index cc54824c388..0b16970cd7e 100644 > --- a/.github/workflows/main.yml > +++ b/.github/workflows/main.yml > @@ -395,9 +395,8 @@ jobs: > cc: gcc > - jobname: linux-musl-meson > image: alpine:latest > - # Supported until 2025-04-02. > - jobname: linux32 > - image: i386/ubuntu:focal > + image: i386/debian:latest > # A RHEL 8 compatible distro. Supported until 2029-05-31. > - jobname: almalinux-8 > image: almalinux:8 > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index f61ec2b6989..31d5e5a3e0d 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -66,7 +66,7 @@ test:linux: > - jobname: linux-musl-meson > image: alpine:latest > - jobname: linux32 > - image: i386/ubuntu:20.04 > + image: i386/debian:latest > # A RHEL 8 compatible distro. Supported until 2029-05-31. > - jobname: almalinux-8 > image: almalinux:8 > diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh > index 50628ee2dd6..b7b3cf35edf 100755 > --- a/ci/install-dependencies.sh > +++ b/ci/install-dependencies.sh > @@ -39,7 +39,7 @@ fedora-*|almalinux-*) > dnf -yq update >/dev/null && > dnf -yq install shadow-utils sudo make pkg-config gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel $MESON_DEPS cargo >/dev/null > ;; > -ubuntu-*|i386/ubuntu-*|debian-*) > +ubuntu-*|i386/debian-*|debian-*) > # Required so that apt doesn't wait for user input on certain packages. > export DEBIAN_FRONTEND=noninteractive > > @@ -48,9 +48,9 @@ ubuntu-*|i386/ubuntu-*|debian-*) > SVN='libsvn-perl subversion' > LANGUAGES='language-pack-is' > ;; > - i386/ubuntu-*) > + i386/debian-*) > SVN= > - LANGUAGES='language-pack-is' > + LANGUAGES='locales-all' > ;; > *) > SVN='libsvn-perl subversion' > diff --git a/ci/lib.sh b/ci/lib.sh > index a5c4eb40bea..fdfde612339 100755 > --- a/ci/lib.sh > +++ b/ci/lib.sh > @@ -250,7 +250,7 @@ then > CI_OS_NAME=osx > JOBS=$(nproc) > ;; > - *,almalinux:*|*,alpine:*|*,debian:*|*,fedora:*|*,ubuntu:*|*,i386/ubuntu:*) > + *,almalinux:*|*,alpine:*|*,debian:*|*,fedora:*|*,ubuntu:*|*,i386/debian:*) > CI_OS_NAME=linux > JOBS=$(nproc) > ;; > > -- > 2.51.1.930.gacf6e81ea2.dirty >
Makes sense to me, but I wonder if we should test with other 32 bit linux distros. This isn't a critique or a suggestion, I'm just wondering out loud.