mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
f2f24008a2
Execute df(1) before and after the build (reporting in MiB for consistency), and du(1) of /usr/obj. Also include the uname.
28 lines
569 B
YAML
28 lines
569 B
YAML
# $FreeBSD$
|
|
|
|
freebsd_instance:
|
|
# image: freebsd-12-1-stable-amd64
|
|
# We need a newer image to install llvm11
|
|
image_family: freebsd-12-1-snap
|
|
cpu: 8
|
|
memory: 24G
|
|
|
|
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
task:
|
|
timeout_in: 120m
|
|
install_script:
|
|
- pkg install -y llvm11
|
|
setup_script:
|
|
- 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
|