From 9c0fe7f6b98cb35074132332439a9af4e2db814d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 10 Apr 2019 15:38:53 +0000 Subject: [PATCH] Add Cirrus CI config file to support CI builds (in downstream projects) Make use of the CI smoke test script added in r346080. Reviewed by: imp, lwhsu Sponsored by: The FreeBSD Foundation --- .cirrus.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000000..5eedb0f1784c --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,19 @@ +# $FreeBSD$ + +freebsd_instance: + image: freebsd-12-0-release-amd64 + cpu: 8 + memory: 24G + +env: + CIRRUS_CLONE_DEPTH: 1 + +task: + timeout_in: 90m + install_script: + - pkg install -y qemu-devel + - fetch https://people.freebsd.org/~emaste/OVMF.fd + script: + - make -j$(sysctl -n hw.ncpu) WITHOUT_TOOLCHAIN=yes buildworld buildkernel + test_script: + - sh tools/boot/ci-qemu-test.sh