xref: /freebsd/.cirrus.yml (revision fe815331bb40604ba31312acf7e4619674631777)
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  timeout_in: 120m
13  install_script:
14  - pkg install -y qemu-devel uefi-edk2-qemu-x86_64
15  setup_user_script:
16  - pw useradd user
17  - mkdir -p /usr/obj/$(pwd -P)
18  - chown user:user /usr/obj/$(pwd -P)
19  script:
20  - su user -c "make -j$(sysctl -n hw.ncpu) WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
21  package_script:
22  - su user -c "make WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
23  test_script:
24  - sh tools/boot/ci-qemu-test.sh
25