From f2f24008a2b1b3c7a1c4b75e9b9c2d0f08abc27b Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 1 Mar 2021 16:19:01 -0500 Subject: [PATCH] Cirrus-CI: Add more information to help track down disk full issues Execute df(1) before and after the build (reporting in MiB for consistency), and du(1) of /usr/obj. Also include the uname. --- .cirrus.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5e1b9fa3f9ee..0b1814790071 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,9 +15,13 @@ task: install_script: - pkg install -y llvm11 setup_script: - - df -h + - uname -a + - df -m - pw useradd user - 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=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel" + post_script: + - df -m + - du -m -s /usr/obj