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:
|
|
|
|
- pkg update -f
|
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 13:31:04 -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
|
2023-04-26 14:22:12 -07:00
|
|
|
|
2023-04-28 16:48:36 -07:00
|
|
|
external_deps_task:
|
2023-04-26 14:22:12 -07:00
|
|
|
container:
|
|
|
|
dockerfile: ci/Dockerfile.external_deps
|
|
|
|
deps_script:
|
2023-04-28 16:48:36 -07:00
|
|
|
- cmake -S cmake.deps --preset external_deps
|
2023-04-26 14:22:12 -07:00
|
|
|
- cmake --build .deps
|
|
|
|
build_script:
|
|
|
|
- cmake --preset ci
|
|
|
|
- cmake --build build
|