1# $FreeBSD$ 2 3freebsd_instance: 4 # image: freebsd-12-1-stable-amd64 5 # We need a newer image to install llvm11 6 image_family: freebsd-12-1-snap 7 cpu: 8 8 memory: 24G 9 10env: 11 CIRRUS_CLONE_DEPTH: 1 12 13task: 14 timeout_in: 120m 15 install_script: 16 - pkg install -y llvm11 17 setup_script: 18 - uname -a 19 - df -m 20 - pw useradd user 21 - mkdir -p /usr/obj/$(pwd -P) 22 - chown user:user /usr/obj/$(pwd -P) 23 script: 24 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel" 25 post_script: 26 - df -m 27 - du -m -s /usr/obj 28