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 qemu42 uefi-edk2-qemu-x86_64 llvm11 17 setup_user_script: 18 - pw useradd user 19 - mkdir -p /usr/obj/$(pwd -P) 20 - chown user:user /usr/obj/$(pwd -P) 21 script: 22 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel" 23 package_script: 24 - su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages" 25 test_script: 26 - sh tools/boot/ci-qemu-test.sh 27