[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] CI: Update build tests based on new minimum toolchain requirements



commit b72d3f5308d1a294d3aacabf3ace809478db416c
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Thu Mar 20 14:13:56 2025 +0000
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Wed Mar 26 11:54:59 2025 +0000

    CI: Update build tests based on new minimum toolchain requirements
    
    Drop CentOS 7 entirely.  It's way to old now.
    
    Ubuntu 22.04 is the oldest Ubuntu with a suitable version of Clang, so swap
    the 16.04 clang builds for 22.04.
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 automation/build/centos/7.dockerfile | 72 ------------------------------------
 automation/gitlab-ci/build.yaml      | 30 +++++----------
 2 files changed, 10 insertions(+), 92 deletions(-)

diff --git a/automation/build/centos/7.dockerfile 
b/automation/build/centos/7.dockerfile
deleted file mode 100644
index f41dda7320..0000000000
--- a/automation/build/centos/7.dockerfile
+++ /dev/null
@@ -1,72 +0,0 @@
-# syntax=docker/dockerfile:1
-FROM --platform=linux/amd64 centos:7
-LABEL maintainer.name="The Xen Project" \
-      maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
-
-RUN mkdir /build
-WORKDIR /build
-
-RUN <<EOF
-    set -e
-
-    # Fix up Yum config now that mirror.centos.org doesn't exist
-    sed -e 's/mirror.centos.org/vault.centos.org/g' \
-        -e 's/^#.*baseurl=https\?/baseurl=https/g' \
-        -e 's/^mirrorlist=https\?/#mirrorlist=https/g' \
-        -i /etc/yum.repos.d/*.repo
-
-    # Add the EPEL repo to get dev86
-    yum -y install epel-release
-
-    # Update everything (Base container is out of date)
-    yum -y update
-
-    DEPS=(
-        # Xen
-        binutils
-        gcc
-        make
-        python
-        # Kconfig
-        bison
-        flex
-        # Flask
-        checkpolicy
-
-        # Tools (general)
-        git
-        gzip
-        patch
-        perl
-        pkgconfig
-        wget
-        # libxenguest dombuilder
-        bzip2-devel
-        lz4-devel
-        lzo-devel
-        xz-devel
-        zlib-devel
-        zstd-devel
-        # libacpi
-        acpica-tools
-        # libxl
-        libuuid-devel
-        yajl-devel
-        # RomBIOS
-        dev86
-        # Header Check
-        gcc-c++
-        # xentop
-        ncurses-devel
-        # Python bindings
-        python-devel
-
-        # Stubdom download/extract
-        bzip2
-    )
-
-    yum -y install "${DEPS[@]}"
-
-    yum clean all
-    rm -rf /var/cache/yum
-EOF
diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index f633068c31..2513908b05 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -545,16 +545,6 @@ archlinux-gcc-debug:
     CONTAINER: archlinux:current
   allow_failure: true
 
-centos-7-gcc:
-  extends: .gcc-x86-64-build
-  variables:
-    CONTAINER: centos:7
-
-centos-7-gcc-debug:
-  extends: .gcc-x86-64-build-debug
-  variables:
-    CONTAINER: centos:7
-
 debian-12-x86_64-gcc-ibt:
   extends: .gcc-x86-64-build
   variables:
@@ -607,16 +597,6 @@ fedora-41-x86_64-gcc-debug:
   variables:
     CONTAINER: fedora:41-x86_64
 
-ubuntu-16.04-x86_64-clang:
-  extends: .clang-x86-64-build
-  variables:
-    CONTAINER: ubuntu:16.04-x86_64
-
-ubuntu-16.04-x86_64-clang-debug:
-  extends: .clang-x86-64-build-debug
-  variables:
-    CONTAINER: ubuntu:16.04-x86_64
-
 ubuntu-16.04-x86_64-gcc:
   extends: .gcc-x86-64-build
   variables:
@@ -637,6 +617,16 @@ ubuntu-20.04-x86_64-gcc:
   variables:
     CONTAINER: ubuntu:20.04-x86_64
 
+ubuntu-22.04-x86_64-clang:
+  extends: .clang-x86-64-build
+  variables:
+    CONTAINER: ubuntu:22.04-x86_64
+
+ubuntu-22.04-x86_64-clang-debug:
+  extends: .clang-x86-64-build-debug
+  variables:
+    CONTAINER: ubuntu:22.04-x86_64
+
 ubuntu-22.04-x86_64-gcc:
   extends: .gcc-x86-64-build
   variables:
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.