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.
This commit is contained in:
Ed Maste 2021-03-01 16:19:01 -05:00
parent 2935869428
commit f2f24008a2

View File

@ -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