.cirrus.yml 731 B

12345678910111213141516171819202122232425262728
  1. # $FreeBSD$
  2. freebsd_instance:
  3. # image: freebsd-12-1-stable-amd64
  4. # We need a newer image to install llvm11
  5. image_family: freebsd-12-1-snap
  6. cpu: 8
  7. memory: 24G
  8. env:
  9. CIRRUS_CLONE_DEPTH: 1
  10. task:
  11. only_if: $CIRRUS_BRANCH != 'svn_head'
  12. timeout_in: 120m
  13. install_script:
  14. - pkg install -y qemu42 uefi-edk2-qemu-x86_64 llvm11
  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) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
  21. package_script:
  22. - su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
  23. test_script:
  24. - sh tools/boot/ci-qemu-test.sh