Skip to content

Commit ac112fd

Browse files
bk2204ttaylorr
authored andcommitted
Add additional CI jobs to avoid accidental breakage
In general, we'd like to make sure Git works on the LTS versions of major Linux distributions. To do that, let's add CI jobs for the oldest regular (non-extended) LTS versions of the major distributions: Ubuntu 20.04, Debian 11, and RHEL 8. Because RHEL isn't available to the public at no charge, use AlmaLinux, which is binary compatible with it. Note that Debian does not offer the language-pack packages, but suitable locale support can be installed with the locales-all package. Otherwise, use the set of installation instructions which exist and are most similar to the existing supported distros. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent ad797ea commit ac112fd

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,21 @@ jobs:
342342
- jobname: linux-musl
343343
image: alpine
344344
distro: alpine-latest
345+
# Supported until 2025-04-02.
345346
- jobname: linux32
346347
image: i386/ubuntu:focal
347348
distro: ubuntu32-20.04
348349
- jobname: pedantic
349350
image: fedora
350351
distro: fedora-latest
352+
# A RHEL 8 compatible distro. Supported until 2029-05-31.
353+
- jobname: almalinux-8
354+
image: almalinux:8
355+
distro: almalinux-8
356+
# Supported until 2026-08-31.
357+
- jobname: debian-11
358+
image: debian:11
359+
distro: debian-11
351360
env:
352361
jobname: ${{matrix.vector.jobname}}
353362
distro: ${{matrix.vector.distro}}

ci/install-dependencies.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,32 @@ alpine-*)
2929
apache2 apache2-http2 apache2-proxy apache2-ssl apache2-webdav apr-util-dbd_sqlite3 \
3030
bash cvs gnupg perl-cgi perl-dbd-sqlite perl-io-tty >/dev/null
3131
;;
32-
fedora-*)
32+
fedora-*|almalinux-*)
3333
dnf -yq update >/dev/null &&
3434
dnf -yq install make gcc findutils diffutils perl python3 gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel >/dev/null
3535
;;
36-
ubuntu-*|ubuntu32-*)
36+
ubuntu-*|ubuntu32-*|debian-*)
3737
# Required so that apt doesn't wait for user input on certain packages.
3838
export DEBIAN_FRONTEND=noninteractive
3939

4040
case "$distro" in
4141
ubuntu-*)
4242
SVN='libsvn-perl subversion'
43+
LANGUAGES='language-pack-is'
4344
;;
44-
*)
45+
ubuntu32-*)
4546
SVN=
47+
LANGUAGES='language-pack-is'
48+
;;
49+
*)
50+
SVN='libsvn-perl subversion'
51+
LANGUAGES='locales-all'
4652
;;
4753
esac
4854

4955
sudo apt-get -q update
5056
sudo apt-get -q -y install \
51-
language-pack-is apache2 cvs cvsps git gnupg $SVN \
57+
$LANGUAGES apache2 cvs cvsps git gnupg $SVN \
5258
make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
5359
tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl \
5460
libemail-valid-perl libio-pty-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \

0 commit comments

Comments
 (0)