mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
b64af88c84
Adapt some tests for OpenBSD: - scrollback_spec: - seq(1) is not available on OpenBSD: we'd use jot(1). - Instead use a (hopefully) portable awk(1) snippet. - channels_spec - job_spec - tui_spec
42 lines
790 B
YAML
42 lines
790 B
YAML
# 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
|
|
|
|
tasks:
|
|
- build: |
|
|
export AUTOCONF_VERSION=2.69
|
|
export AUTOMAKE_VERSION=1.15
|
|
cd neovim
|
|
mkdir .deps
|
|
cd .deps
|
|
cmake -G Ninja ../third-party/
|
|
cmake --build . --config Debug
|
|
cd ..
|
|
mkdir build
|
|
cd build
|
|
cmake -G Ninja -DMIN_LOG_LEVEL=3 ..
|
|
cmake --build . --config Debug
|
|
./bin/nvim --version
|
|
- test: |
|
|
export LC_CTYPE=en_US.UTF-8
|
|
# functional tests
|
|
cd neovim/build
|
|
# cmake --build . --config Debug --target functionaltest
|
|
# oldtests
|
|
cd ..
|
|
gmake oldtest
|