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: 8G 11 disk: 40 12 13env: 14 CIRRUS_CLONE_DEPTH: 1 15 16task: 17 matrix: 18 - name: World and kernel amd64 build and boot smoke test 19 env: 20 TARGET: amd64 21 TARGET_ARCH: amd64 22 TOOLCHAIN_PKG: llvm13 23 - name: World and kernel arm64 build and boot smoke test 24 trigger_type: manual 25 env: 26 TARGET: arm64 27 TARGET_ARCH: aarch64 28 TOOLCHAIN_PKG: llvm13 29 - name: World and kernel gcc9 amd64 build and boot smoke test 30 trigger_type: manual 31 env: 32 TARGET: amd64 33 TARGET_ARCH: amd64 34 TOOLCHAIN_PKG: amd64-gcc9 35 timeout_in: 120m 36 install_script: 37 - sh .cirrus-ci/pkg-install.sh qemu-nox11 ${TOOLCHAIN_PKG} 38 setup_script: 39 - uname -a 40 - df -m 41 - pkg --version 42 - pw useradd user 43 - mkdir -p /usr/obj/$(pwd -P) 44 - chown user:user /usr/obj/$(pwd -P) 45 script: 46 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes buildworld buildkernel" 47 package_script: 48 - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages" 49 test_script: 50 - sh tools/boot/ci-qemu-test.sh 51 post_script: 52 - df -m 53 - du -m -s /usr/obj 54