[LTP] [PATCH 1/2] CI: ReAplace CentOS 7 with openSUSE Leap 42.2, Ubuntu xenial
Petr Vorel
pvorel@suse.cz
Wed Oct 25 16:01:08 CEST 2023
CentOS 7 (kernel 3.10, glibc 2.17, gcc 4.8.5) is not yet EOL,
but IMHO nobody test it (or other distro with similarly old)
with the latest LTP (older LTP release is used). It's not worth of
effort to keep LTP compilable with that old kernel/glibc headers.
Therefore replace CentOS 7 with two distros with similar age:
* openSUSE Leap 42.2 (kernel 4.4, glibc 2.22, gcc 4.8.5)
* Ubuntu 16.04 LTS xenial (kernel 4.4, glibc 2.23, gcc 5.3.1)
These will become the oldest distros in LTP CI.
Although both has EOL (Leap 42.2 in 2018-01, xenial in 2021-04), they
still available in docker Hub (thus working in GitHub CI).
The same kernel release 4.4 is also used in SLE 12-SP2, which is still
being tested with the latest LTP release. Also CIP project uses kernel
4.4, people might test it recent LTP.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,
Li, Jan, do you want to introduce another CentOS version? As there will
be none.
Tested on: https://github.com/pevik/ltp/actions/runs/6641429013
Kind regards,
Petr
.github/workflows/ci.yml | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 24876b564..9a8a66b6d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,14 +58,12 @@ jobs:
TREE: out
VARIANT: minimal
- # other builds
- - container: "fedora:latest"
+ # oldest distros
+ - container: "opensuse/archive:42.2"
env:
- CC: clang
- MAKE_INSTALL: 1
- METADATA: asciidoctor-pdf
+ CC: gcc
- - container: "centos:7"
+ - container: "ubuntu:xenial"
env:
CC: gcc
METADATA: asciidoc-pdf
@@ -80,6 +78,13 @@ jobs:
env:
CC: clang
+ # other builds
+ - container: "fedora:latest"
+ env:
+ CC: clang
+ MAKE_INSTALL: 1
+ METADATA: asciidoctor-pdf
+
- container: "opensuse/leap:latest"
env:
CC: gcc
--
2.42.0
More information about the ltp
mailing list