mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -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.
44 lines
904 B
YAML
44 lines
904 B
YAML
# sourcehut CI: https://builds.sr.ht/~jmk/neovim
|
|
|
|
image: openbsd/6.7
|
|
|
|
packages:
|
|
- autoconf-2.69p2
|
|
- automake-1.15.1
|
|
- cmake
|
|
- gettext-runtime-0.20.1p1
|
|
- gettext-tools-0.20.1p3
|
|
- gmake
|
|
- libtool
|
|
- ninja-1.10.0
|
|
- unzip-6.0p13
|
|
|
|
sources:
|
|
- https://github.com/neovim/neovim
|
|
|
|
environment:
|
|
SOURCEHUT: 1
|
|
LC_CTYPE: en_US.UTF-8
|
|
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
|
|
|
tasks:
|
|
- build-deps: |
|
|
export AUTOCONF_VERSION=2.69
|
|
export AUTOMAKE_VERSION=1.15
|
|
mkdir neovim/.deps
|
|
cd neovim/.deps
|
|
cmake -G Ninja ../third-party/
|
|
cmake --build . --config RelWithDebInfo
|
|
- build: |
|
|
mkdir neovim/build
|
|
cd neovim/build
|
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
|
cmake --build . --config RelWithDebInfo
|
|
./bin/nvim --version
|
|
- functionaltest: |
|
|
cd neovim/build
|
|
cmake --build . --config RelWithDebInfo --target functionaltest
|
|
- oldtest: |
|
|
cd neovim
|
|
gmake oldtest
|