2019-04-10 17:38:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
freebsd_instance:
|
2020-01-18 21:19:07 +01:00
|
|
|
image: freebsd-12-1-release-amd64
|
2019-04-10 17:38:53 +02:00
|
|
|
cpu: 8
|
|
|
|
memory: 24G
|
|
|
|
|
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
|
|
|
|
task:
|
2020-09-19 15:55:26 +02:00
|
|
|
only_if: $CIRRUS_BRANCH != 'svn_head'
|
2020-02-19 16:56:40 +01:00
|
|
|
timeout_in: 120m
|
2019-04-10 17:38:53 +02:00
|
|
|
install_script:
|
2019-07-24 23:08:30 +02:00
|
|
|
- pkg install -y qemu-devel uefi-edk2-qemu-x86_64
|
2020-09-17 20:47:23 +02:00
|
|
|
setup_user_script:
|
|
|
|
- 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:
|
2020-09-17 20:47:23 +02:00
|
|
|
- su user -c "make -j$(sysctl -n hw.ncpu) WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
|
2020-01-19 23:29:22 +01:00
|
|
|
package_script:
|
2020-09-17 20:47:23 +02:00
|
|
|
- su user -c "make WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
2019-04-10 17:38:53 +02:00
|
|
|
test_script:
|
2019-07-24 23:08:30 +02:00
|
|
|
- sh tools/boot/ci-qemu-test.sh
|