mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
81794204ce
Many compiler checks rely on optimizations being enabled, so we want these to show up in CI. Use RelWithDebInfo instead of Release so that assert() statements aren't compiled out.
45 lines
831 B
YAML
45 lines
831 B
YAML
image: freebsd/12.x
|
|
|
|
packages:
|
|
- cmake
|
|
- gmake
|
|
- ninja
|
|
- libtool
|
|
- sha
|
|
- automake
|
|
- pkgconf
|
|
- unzip
|
|
- wget
|
|
- gettext
|
|
- python
|
|
- libffi
|
|
|
|
sources:
|
|
- https://github.com/neovim/neovim
|
|
|
|
environment:
|
|
SOURCEHUT: 1
|
|
LANG: en_US.UTF-8
|
|
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
|
|
|
tasks:
|
|
- build-deps: |
|
|
cd neovim
|
|
gmake deps
|
|
- build: |
|
|
cd neovim
|
|
gmake CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
|
|
- functionaltest: |
|
|
cd neovim
|
|
gmake functionaltest
|
|
- unittest: |
|
|
cd neovim
|
|
gmake unittest
|
|
|
|
# Unfortunately, oldtest is tanking hard on sourcehut's FreeBSD instance
|
|
# and not producing any logs as a result. So don't do this task for now.
|
|
# Ref: https://github.com/neovim/neovim/pull/11477#discussion_r352095005.
|
|
# - test-oldtest: |
|
|
# cd neovim
|
|
# gmake oldtest
|