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