2 compute_engine_instance:
3 # Image list available via
4 # gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
6 image_project: freebsd-org-cloud-dev
7 image: freebsd-13-2-release-amd64
17 - name: amd64-llvm15 World and kernel build and boot smoke test
18 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
24 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
25 - name: amd64-llvm16 World and kernel build and boot smoke test
30 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
31 - name: arm64-llvm15 World and kernel build and boot smoke test
32 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
38 TOOLCHAIN_PKG: ${TOOLCHAIN}
39 - name: arm64-llvm16 World and kernel build and boot smoke test
40 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
46 TOOLCHAIN_PKG: ${TOOLCHAIN}
47 - name: amd64-gcc12 World and kernel build and boot smoke test (manual)
48 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
53 TOOLCHAIN: amd64-gcc12
54 TOOLCHAIN_PKG: ${TOOLCHAIN}
56 - name: aarch64-gcc12 World and kernel build and boot smoke test (manual)
57 only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
62 TOOLCHAIN: aarch64-gcc12
63 TOOLCHAIN_PKG: ${TOOLCHAIN}
65 - name: amd64-gcc12 World and kernel build and boot smoke test (FreeBSD repo)
66 only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src'
70 TOOLCHAIN: amd64-gcc12
71 TOOLCHAIN_PKG: ${TOOLCHAIN}
75 - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite
83 - mkdir -p /usr/obj/$(pwd -P)
84 - chown user:user /usr/obj/$(pwd -P)
87 - su user -c "make -j$(sysctl -n hw.ncpu) ${EXTRA_MAKE_FLAGS} CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildworld"
90 - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes buildkernel"
93 - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN} WITHOUT_TOOLCHAIN=yes packages"
96 - su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua -c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG"
99 - sh .cirrus-ci/pkg-install.sh qemu-nox11
100 - sh tools/boot/ci-qemu-test.sh
103 # Check that make sysent results were committed if required
105 - if ! git diff --exit-code; then printf "\n>>> Generated sysent files not updated, run make sysent <<<\n"; false; fi
107 include_ldirs_script:
108 # Check that includes/Makefile refers to existing directories
109 - if ! make -C include/ check-ldirs; then printf "\n>>> include/Makefile lists nonexistant directories <<<\n"; false; fi
112 # Check that the committed src.conf.5 matches the one generated by
113 # tools/build/options/makeman (modulo the date which always updates)
114 # XXX: This script is slow so keep it last
115 - (make makeman 2> /tmp/makeman.out); cat /tmp/makeman.out
116 - 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
117 - if grep -q "no description found" /tmp/makeman.out; then printf "\n>>> Missing description files <<<\n"; false; fi