aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-06-09 13:53:08 +0000
committerEd Maste <emaste@FreeBSD.org>2023-06-09 15:07:24 +0000
commit6024564cd4da1f7a24c7e13a4aa6b04707eafb60 (patch)
treea0e211a271b192ff5645395a1020f15baff65ccc /.cirrus.yml
parent92d817ad6bc6207a8d0550340c7e606c07302459 (diff)
downloadsrc-6024564cd4da1f7a24c7e13a4aa6b04707eafb60.tar.gz
src-6024564cd4da1f7a24c7e13a4aa6b04707eafb60.zip
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
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 5 insertions, 2 deletions
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"