2019-04-10 15:38:53 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
freebsd_instance:
|
2020-10-28 11:54:09 +00:00
|
|
|
# image: freebsd-12-1-stable-amd64
|
|
|
|
# We need a newer image to install llvm11
|
|
|
|
image_family: freebsd-12-1-snap
|
2019-04-10 15:38:53 +00:00
|
|
|
cpu: 8
|
|
|
|
memory: 24G
|
|
|
|
|
|
|
|
task:
|
2020-09-19 13:55:26 +00:00
|
|
|
only_if: $CIRRUS_BRANCH != 'svn_head'
|
2020-02-19 15:56:40 +00:00
|
|
|
timeout_in: 120m
|
2019-04-10 15:38:53 +00:00
|
|
|
install_script:
|
2020-10-29 02:02:30 +00:00
|
|
|
- pkg install -y qemu42 uefi-edk2-qemu-x86_64 llvm11
|
2020-09-17 18:47:23 +00:00
|
|
|
setup_user_script:
|
|
|
|
- pw useradd user
|
|
|
|
- mkdir -p /usr/obj/$(pwd -P)
|
|
|
|
- chown user:user /usr/obj/$(pwd -P)
|
2019-04-10 15:38:53 +00: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"
|
2020-01-19 22:29:22 +00:00
|
|
|
package_script:
|
2020-10-28 11:54:09 +00:00
|
|
|
- su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
2019-04-10 15:38:53 +00:00
|
|
|
test_script:
|
2019-07-24 21:08:30 +00:00
|
|
|
- sh tools/boot/ci-qemu-test.sh
|