.cirrus.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. env:
  2. CIRRUS_CLONE_DEPTH: 3
  3. FEATURES: huge
  4. freebsd_task:
  5. name: FreeBSD
  6. matrix:
  7. - name: FreeBSD 13.1
  8. freebsd_instance:
  9. image_family: freebsd-13-1
  10. - name: FreeBSD 12.4
  11. freebsd_instance:
  12. image_family: freebsd-12-4
  13. timeout_in: 20m
  14. install_script:
  15. - pkg update -f
  16. - pkg install -y gettext
  17. build_script:
  18. - NPROC=$(getconf _NPROCESSORS_ONLN)
  19. - ./configure --with-features=${FEATURES}
  20. - make -j${NPROC}
  21. test_script:
  22. - src/vim --version
  23. # run tests as user "cirrus" instead of root
  24. - pw useradd cirrus -m
  25. - chown -R cirrus:cirrus .
  26. - sudo -u cirrus make test
  27. macos_task:
  28. name: macOS m1
  29. macos_instance:
  30. image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
  31. env:
  32. # only run with clang, gcc is not real, it is a link to clang
  33. CC: clang
  34. timeout_in: 20m
  35. install_script:
  36. - brew update
  37. - brew install gettext libtool
  38. build_script:
  39. - NPROC=$(getconf _NPROCESSORS_ONLN)
  40. - ./configure --with-features=${FEATURES}
  41. - make -j${NPROC}
  42. test_script:
  43. - src/vim --version
  44. - make test