CI: Drop automation/configs/

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 7b20009a81)
This commit is contained in:
Andrew Cooper committed 2023-04-11 19:40:08 +01:00
1 parent 7758cd57e0
commit 4c0d792675
4 files changed
-30

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
CONFIG_HVM=y
# CONFIG_PV is not set
# CONFIG_DEBUG is not set
-3
View File
@@ -1,3 +0,0 @@
# CONFIG_HVM is not set
# CONFIG_PV is not set
# CONFIG_DEBUG is not set
-3
View File
@@ -1,3 +0,0 @@
CONFIG_PV=y
# CONFIG_HVM is not set
# CONFIG_DEBUG is not set
-21
View File
@@ -85,24 +85,3 @@ if [[ "${XEN_TARGET_ARCH}" != "x86_32" ]]; then
cp -r dist binaries/
fi
fi
if [[ "${hypervisor_only}" == "y" ]]; then
# If we are build testing a specific Kconfig exit now, there's no point in
# testing all the possible configs.
exit 0
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} defconfig
make -j$(nproc) -C xen
done
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.