xref: /freebsd/.cirrus.yml (revision a3d9bf49b57923118c339642594246ef73872ee8)
1# $FreeBSD$
2
3freebsd_instance:
4  image: freebsd-12-1-release-amd64
5  cpu: 8
6  memory: 24G
7
8env:
9  CIRRUS_CLONE_DEPTH: 1
10
11task:
12  only_if: $CIRRUS_BRANCH != 'svn_head'
13  timeout_in: 120m
14  install_script:
15  - pkg install -y qemu-devel uefi-edk2-qemu-x86_64
16  setup_user_script:
17  - pw useradd user
18  - mkdir -p /usr/obj/$(pwd -P)
19  - chown user:user /usr/obj/$(pwd -P)
20  script:
21  - su user -c "make -j$(sysctl -n hw.ncpu) WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
22  package_script:
23  - su user -c "make WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
24  test_script:
25  - sh tools/boot/ci-qemu-test.sh
26