2019-08-16 13:04:49 -07:00
|
|
|
# sourcehut CI: https://builds.sr.ht/~jmk/neovim
|
|
|
|
|
|
|
|
image: openbsd/6.5
|
|
|
|
|
|
|
|
packages:
|
|
|
|
- autoconf-2.69p2
|
|
|
|
- automake-1.15.1
|
|
|
|
- cmake
|
|
|
|
- gettext-0.19.8.1p3
|
|
|
|
- gettext-tools-0.19.8.1
|
|
|
|
- gmake
|
|
|
|
- libtool
|
|
|
|
- ninja-1.8.2p0
|
|
|
|
- unzip-6.0p11
|
|
|
|
|
|
|
|
sources:
|
|
|
|
- https://github.com/neovim/neovim
|
|
|
|
|
2019-11-29 02:31:31 -07:00
|
|
|
environment:
|
|
|
|
SOURCEHUT: 1
|
|
|
|
LC_CTYPE: en_US.UTF-8
|
|
|
|
CMAKE_EXTRA_FLAGS: -DTRAVIS_CI_BUILD=ON -DMIN_LOG_LEVEL=3
|
|
|
|
|
2019-08-16 13:04:49 -07:00
|
|
|
tasks:
|
2019-11-29 02:31:31 -07:00
|
|
|
- build-deps: |
|
2019-08-16 13:04:49 -07:00
|
|
|
export AUTOCONF_VERSION=2.69
|
|
|
|
export AUTOMAKE_VERSION=1.15
|
2019-11-29 02:31:31 -07:00
|
|
|
mkdir neovim/.deps
|
|
|
|
cd neovim/.deps
|
2019-08-16 13:04:49 -07:00
|
|
|
cmake -G Ninja ../third-party/
|
|
|
|
cmake --build . --config Debug
|
2019-11-29 02:31:31 -07:00
|
|
|
- build: |
|
|
|
|
mkdir neovim/build
|
|
|
|
cd neovim/build
|
|
|
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
2019-08-16 13:04:49 -07:00
|
|
|
cmake --build . --config Debug
|
|
|
|
./bin/nvim --version
|
2019-11-29 02:31:31 -07:00
|
|
|
- functionaltest: |
|
2019-08-18 05:39:31 -07:00
|
|
|
cd neovim/build
|
2019-10-08 08:36:58 -07:00
|
|
|
cmake --build . --config Debug --target functionaltest
|
2019-11-29 02:31:31 -07:00
|
|
|
- oldtest: |
|
|
|
|
cd neovim
|
2019-08-18 05:39:31 -07:00
|
|
|
gmake oldtest
|