2019-08-16 13:04:49 -07:00
|
|
|
# sourcehut CI: https://builds.sr.ht/~jmk/neovim
|
|
|
|
|
2020-05-31 16:02:52 -07:00
|
|
|
image: openbsd/6.7
|
2019-08-16 13:04:49 -07:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- autoconf-2.69p2
|
|
|
|
- automake-1.15.1
|
|
|
|
- cmake
|
2020-05-31 16:02:52 -07:00
|
|
|
- gettext-runtime-0.20.1p1
|
|
|
|
- gettext-tools-0.20.1p3
|
2019-08-16 13:04:49 -07:00
|
|
|
- gmake
|
|
|
|
- libtool
|
2020-05-31 16:02:52 -07:00
|
|
|
- ninja-1.10.0
|
|
|
|
- unzip-6.0p13
|
2019-08-16 13:04:49 -07:00
|
|
|
|
|
|
|
sources:
|
|
|
|
- https://github.com/neovim/neovim
|
|
|
|
|
2019-11-29 02:31:31 -07:00
|
|
|
environment:
|
|
|
|
SOURCEHUT: 1
|
|
|
|
LC_CTYPE: en_US.UTF-8
|
2020-11-12 11:20:00 -07:00
|
|
|
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
2019-11-29 02:31:31 -07:00
|
|
|
|
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/
|
2021-01-31 08:45:26 -07:00
|
|
|
cmake --build . --config RelWithDebInfo
|
2019-11-29 02:31:31 -07:00
|
|
|
- build: |
|
|
|
|
mkdir neovim/build
|
|
|
|
cd neovim/build
|
|
|
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
2021-01-31 08:45:26 -07:00
|
|
|
cmake --build . --config RelWithDebInfo
|
2019-08-16 13:04:49 -07:00
|
|
|
./bin/nvim --version
|
2019-11-29 02:31:31 -07:00
|
|
|
- functionaltest: |
|
2019-08-18 05:39:31 -07:00
|
|
|
cd neovim/build
|
2021-01-31 08:45:26 -07:00
|
|
|
cmake --build . --config RelWithDebInfo --target functionaltest
|
2019-11-29 02:31:31 -07:00
|
|
|
- oldtest: |
|
|
|
|
cd neovim
|
2019-08-18 05:39:31 -07:00
|
|
|
gmake oldtest
|