mirror of
https://github.com/neovim/neovim.git
synced 2024-12-22 04:05:09 -07:00
9301abdf74
Having to specify CI_BUILD for every CI job requires boilerplate. More
importantly, it's easy to forget to enable CI_BUILD, as seen by
8a20f9f98a
. It's simpler to remember to
turn CI_BUILD off when a job errors instead of remembering that every
new job should have CI_BUILD on.
29 lines
754 B
YAML
29 lines
754 B
YAML
env:
|
|
CIRRUS_CLONE_DEPTH: '2'
|
|
LANG: en_US.UTF-8
|
|
|
|
freebsd_task:
|
|
name: FreeBSD
|
|
only_if: $BRANCH != "master"
|
|
freebsd_instance:
|
|
image_family: freebsd-13-1
|
|
timeout_in: 30m
|
|
install_script:
|
|
- pkg update -f
|
|
- pkg install -y cmake gmake ninja pkgconf unzip wget gettext python libffi git
|
|
build_deps_script:
|
|
- gmake deps
|
|
build_script:
|
|
- gmake nvim
|
|
workaround_script:
|
|
# Run tests as user "cirrus" instead of root. This is required for the
|
|
# permission-related tests to work correctly.
|
|
- pw useradd cirrus -m
|
|
- chown -R cirrus:cirrus .
|
|
functionaltest_script:
|
|
- sudo -u cirrus gmake functionaltest
|
|
unittest_script:
|
|
- sudo -u cirrus gmake unittest
|
|
oldtest_script:
|
|
- sudo -u cirrus gmake oldtest
|