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