3 compute_engine_instance:
4 # Image list available via
5 # gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
7 image_project: freebsd-org-cloud-dev
8 image: freebsd-13-2-release-amd64
18 - name: amd64-llvm15 World and kernel build and boot smoke test
23 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
24 - name: amd64-llvm16 World and kernel build and boot smoke test
25 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
31 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
32 - name: arm64-llvm15 World and kernel build and boot smoke test
33 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
39 TOOLCHAIN_PKG: ${TOOLCHAIN}
40 - name: arm64-llvm16 World and kernel build and boot smoke test
41 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
47 TOOLCHAIN_PKG: ${TOOLCHAIN}
48 - name: amd64-gcc12 World and kernel build and boot smoke test (manual)
49 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
54 TOOLCHAIN: amd64-gcc12
55 TOOLCHAIN_PKG: ${TOOLCHAIN}
56 - name: amd64-gcc12 World and kernel build and boot smoke test (FreeBSD repo)
57 only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src'
61 TOOLCHAIN: amd64-gcc12
62 TOOLCHAIN_PKG: ${TOOLCHAIN}
65 - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite
73 - mkdir -p /usr/obj/$(pwd -P)
74 - chown user:user /usr/obj/$(pwd -P)
77 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
80 - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes packages"
83 - su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua -c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG"
86 - sh .cirrus-ci/pkg-install.sh qemu-nox11
87 - sh tools/boot/ci-qemu-test.sh
90 # Check that make sysent results were committed if required
92 - if ! git diff --exit-code; then printf "\n>>> Generated sysent files not updated, run make sysent <<<\n"; false; fi
95 # Check that includes/Makefile refers to existing directories
96 - if ! make -C include/ check-ldirs; then printf "\n>>> include/Makefile lists nonexistant directories <<<\n"; false; fi
99 # Check that the committed src.conf.5 matches the one generated by
100 # tools/build/options/makeman (modulo the date which always updates)
101 # XXX: This script is slow so keep it last
102 - (make makeman 2> /tmp/makeman.out); cat /tmp/makeman.out
103 - if ! git diff --exit-code --ignore-matching-lines "^.Dd" share/man/man5/src.conf.5; then printf "\n>>> src.conf.5 was not updated as required <<<\n"; false; fi
104 - if grep -q "no description found" /tmp/makeman.out; then printf "\n>>> Missing description files <<<\n"; false; fi