From 6024564cd4da1f7a24c7e13a4aa6b04707eafb60 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 9 Jun 2023 09:53:08 -0400 Subject: Cirrus-CI: split main script into separate world + kernel It appears that Cirrus-CI has a 100MB limit for log output, and we exceed that (!) with the amd64-gcc12 build. Separate world and kernel build tasks in an attempt to stay below the limit. This also has the benefit of showing world and kernel build status separately in the Cirrus-CI UI. PR: 271903 Sponsored by: The FreeBSD Foundation --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 12d78f465c55..d22b5f189f53 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -73,8 +73,11 @@ task: - mkdir -p /usr/obj/$(pwd -P) - chown user:user /usr/obj/$(pwd -P) - script: - - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildworld buildkernel" + build_world_script: + - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildworld" + + build_kernel_script: + - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildkernel" package_script: - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes packages" -- cgit v1.2.3