2019-04-10 16:38:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2021-05-02 20:28:36 +01:00
|
|
|
compute_engine_instance:
|
2021-04-19 19:36:21 +01:00
|
|
|
# Image list available via
|
|
|
|
# gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
|
2021-05-02 20:28:36 +01:00
|
|
|
platform: freebsd
|
|
|
|
image_project: freebsd-org-cloud-dev
|
2021-04-19 19:36:21 +01:00
|
|
|
image: freebsd-13-0-release-amd64
|
2019-04-10 16:38:53 +01:00
|
|
|
cpu: 8
|
2021-08-31 01:50:34 +01:00
|
|
|
memory: 8G
|
2021-05-02 20:28:36 +01:00
|
|
|
disk: 40
|
2019-04-10 16:38:53 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
|
|
|
|
task:
|
2021-06-23 20:24:36 +01:00
|
|
|
matrix:
|
|
|
|
- name: World and kernel amd64 build and boot smoke test
|
|
|
|
env:
|
|
|
|
TARGET: amd64
|
|
|
|
TARGET_ARCH: amd64
|
|
|
|
- name: World and kernel arm64 build and boot smoke test
|
|
|
|
trigger_type: manual
|
|
|
|
env:
|
|
|
|
TARGET: arm64
|
|
|
|
TARGET_ARCH: aarch64
|
2020-02-19 15:56:40 +00:00
|
|
|
timeout_in: 120m
|
2019-04-10 16:38:53 +01:00
|
|
|
install_script:
|
2021-06-26 01:10:34 +01:00
|
|
|
- sh .cirrus-ci/pkg-install.sh qemu llvm11
|
2021-03-01 03:07:05 +00:00
|
|
|
setup_script:
|
|
|
|
- uname -a
|
|
|
|
- df -m
|
2020-09-17 19:47:23 +01:00
|
|
|
- pw useradd user
|
|
|
|
- mkdir -p /usr/obj/$(pwd -P)
|
|
|
|
- chown user:user /usr/obj/$(pwd -P)
|
2019-04-10 16:38:53 +01:00
|
|
|
script:
|
2020-10-28 11:54:09 +00:00
|
|
|
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
|
2021-05-02 20:28:36 +01:00
|
|
|
package_script:
|
|
|
|
- su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
|
|
|
test_script:
|
|
|
|
- sh tools/boot/ci-qemu-test.sh
|
2021-03-01 03:07:05 +00:00
|
|
|
post_script:
|
|
|
|
- df -m
|
2021-06-02 15:42:57 +01:00
|
|
|
- du -m -s /usr/obj
|