]> xenbits.xensource.com Git - xen.git/commitdiff
CI: Drop automation/configs/
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Dec 2022 15:39:13 +0000 (15:39 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 12 Apr 2023 08:00:36 +0000 (09:00 +0100)
Having 3 extra hypervisor builds on the end of a full build is deeply
confusing to debug if one of them fails, because the .config file presented in
the artefacts is not the one which caused a build failure.  Also, the log
tends to be truncated in the UI.

PV-only is tested as part of PV-Shim in a full build anyway, so doesn't need
repeating.  HVM-only and neither appear frequently in randconfig, so drop all
the logic here to simplify things.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 7b20009a812f26e74bdbde2ab96165376b3dad34)

automation/configs/x86/hvm_only_config [deleted file]
automation/configs/x86/no_hvm_pv_config [deleted file]
automation/configs/x86/pv_only_config [deleted file]
automation/scripts/build

diff --git a/automation/configs/x86/hvm_only_config b/automation/configs/x86/hvm_only_config
deleted file mode 100644 (file)
index 9efbddd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-CONFIG_HVM=y
-# CONFIG_PV is not set
-# CONFIG_DEBUG is not set
diff --git a/automation/configs/x86/no_hvm_pv_config b/automation/configs/x86/no_hvm_pv_config
deleted file mode 100644 (file)
index 0bf6a8e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# CONFIG_HVM is not set
-# CONFIG_PV is not set
-# CONFIG_DEBUG is not set
diff --git a/automation/configs/x86/pv_only_config b/automation/configs/x86/pv_only_config
deleted file mode 100644 (file)
index e9d8b4a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-CONFIG_PV=y
-# CONFIG_HVM is not set
-# CONFIG_DEBUG is not set
index 0cd0f3971de5777eb1bc850bc068115c8b5a6cb1..f280d62c81e20e79ef89a072b70e819c419ba32c 100755 (executable)
@@ -48,18 +48,3 @@ mkdir binaries
 if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
     cp xen/xen binaries/xen
 fi
-
-# Build all the configs we care about
-case ${XEN_TARGET_ARCH} in
-    x86_64) arch=x86 ;;
-    *) exit 0 ;;
-esac
-
-cfg_dir="automation/configs/${arch}"
-for cfg in `ls ${cfg_dir}`; do
-    echo "Building $cfg"
-    make -j$(nproc) -C xen clean
-    rm -f xen/.config
-    make -C xen KBUILD_DEFCONFIG=../../../../${cfg_dir}/${cfg} XEN_CONFIG_EXPERT=y defconfig
-    make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y
-done