2022-09-08 15:12:42 -07:00
|
|
|
env:
|
2022-09-23 03:57:18 -07:00
|
|
|
CIRRUS_CLONE_DEPTH: '2'
|
2022-09-08 15:12:42 -07:00
|
|
|
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:
|
2023-02-17 16:09:51 -07:00
|
|
|
- pkg install -y cmake gmake ninja pkgconf unzip wget gettext python libffi git
|
2022-09-08 15:12:42 -07:00
|
|
|
build_deps_script:
|
|
|
|
- gmake deps
|
|
|
|
build_script:
|
2023-04-07 11:44:00 -07:00
|
|
|
- gmake CMAKE_EXTRA_FLAGS="-DCI_BUILD=ON" nvim
|
2022-09-08 15:12:42 -07:00
|
|
|
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
|