1# $FreeBSD$ 2 3compute_engine_instance: 4 # Image list available via 5 # gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images 6 platform: freebsd 7 image_project: freebsd-org-cloud-dev 8 image: freebsd-13-0-release-amd64 9 cpu: 8 10 memory: 24G 11 disk: 40 12 13env: 14 CIRRUS_CLONE_DEPTH: 1 15 16task: 17 name: World and kernel amd64 build and boot smoke test 18 timeout_in: 120m 19 install_script: 20 - sh .cirrus-ci/pkg-install.sh qemu uefi-edk2-qemu-x86_64 llvm12 21 setup_script: 22 - uname -a 23 - df -m 24 - pw useradd user 25 - mkdir -p /usr/obj/$(pwd -P) 26 - chown user:user /usr/obj/$(pwd -P) 27 script: 28 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm12 WITHOUT_TOOLCHAIN=yes buildworld buildkernel" 29 package_script: 30 - su user -c "make CROSS_TOOLCHAIN=llvm12 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages" 31 test_script: 32 - sh tools/boot/ci-qemu-test.sh 33 post_script: 34 - df -m 35 - du -m -s /usr/obj 36