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: World and kernel amd64 build and boot smoke test
23 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
24 - name: World and kernel arm64 build and boot smoke test
25 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
31 TOOLCHAIN_PKG: ${TOOLCHAIN}
32 - name: World and kernel gcc12 amd64 build and boot smoke test (manual)
33 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
38 TOOLCHAIN: amd64-gcc12
39 TOOLCHAIN_PKG: ${TOOLCHAIN}
40 - name: World and kernel gcc12 amd64 build and boot smoke test (FreeBSD repo)
41 only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src'
45 TOOLCHAIN: amd64-gcc12
46 TOOLCHAIN_PKG: ${TOOLCHAIN}
49 - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite
57 - mkdir -p /usr/obj/$(pwd -P)
58 - chown user:user /usr/obj/$(pwd -P)
61 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
64 - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes packages"
67 - su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua -c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG"
70 - sh .cirrus-ci/pkg-install.sh qemu-nox11
71 - sh tools/boot/ci-qemu-test.sh
74 # Check that make sysent results were committed if required
76 - if ! git diff --exit-code; then printf "\n>>> Generated sysent files not updated, run make sysent <<<\n"; false; fi
79 # Check that includes/Makefile refers to existing directories
80 - if ! make -C include/ check-ldirs; then printf "\n>>> include/Makefile lists nonexistant directories <<<\n"; false; fi
83 # Check that the committed src.conf.5 matches the one generated by
84 # tools/build/options/makeman (modulo the date which always updates)
85 # XXX: This script is slow so keep it last
86 - (make makeman 2> /tmp/makeman.out); cat /tmp/makeman.out
87 - 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
88 - if grep -q "no description found" /tmp/makeman.out; then printf "\n>>> Missing description files <<<\n"; false; fi