mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: revisit OpenBSD/FreeBSD config (#11477)
This commit is contained in:
commit
bff42cd7b3
@ -29,12 +29,16 @@ tasks:
|
|||||||
- build: |
|
- build: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
|
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
|
||||||
- test: |
|
- functionaltest: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake unittest functionaltest
|
gmake functionaltest
|
||||||
|
- unittest: |
|
||||||
|
cd neovim
|
||||||
|
gmake unittest
|
||||||
|
|
||||||
# Unfortunately, oldtest is tanking hard on sourcehut's FreeBSD instance
|
# 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.
|
# 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: |
|
# - test-oldtest: |
|
||||||
# cd neovim
|
# cd neovim
|
||||||
# gmake oldtest
|
# gmake oldtest
|
||||||
|
@ -16,26 +16,28 @@ packages:
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/neovim/neovim
|
- https://github.com/neovim/neovim
|
||||||
|
|
||||||
|
environment:
|
||||||
|
SOURCEHUT: 1
|
||||||
|
LC_CTYPE: en_US.UTF-8
|
||||||
|
CMAKE_EXTRA_FLAGS: -DTRAVIS_CI_BUILD=ON -DMIN_LOG_LEVEL=3
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- build: |
|
- build-deps: |
|
||||||
export AUTOCONF_VERSION=2.69
|
export AUTOCONF_VERSION=2.69
|
||||||
export AUTOMAKE_VERSION=1.15
|
export AUTOMAKE_VERSION=1.15
|
||||||
cd neovim
|
mkdir neovim/.deps
|
||||||
mkdir .deps
|
cd neovim/.deps
|
||||||
cd .deps
|
|
||||||
cmake -G Ninja ../third-party/
|
cmake -G Ninja ../third-party/
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
cd ..
|
- build: |
|
||||||
mkdir build
|
mkdir neovim/build
|
||||||
cd build
|
cd neovim/build
|
||||||
cmake -G Ninja -DMIN_LOG_LEVEL=3 ..
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
./bin/nvim --version
|
./bin/nvim --version
|
||||||
- test: |
|
- functionaltest: |
|
||||||
export LC_CTYPE=en_US.UTF-8
|
|
||||||
# functional tests
|
|
||||||
cd neovim/build
|
cd neovim/build
|
||||||
cmake --build . --config Debug --target functionaltest
|
cmake --build . --config Debug --target functionaltest
|
||||||
# oldtests
|
- oldtest: |
|
||||||
cd ..
|
cd neovim
|
||||||
gmake oldtest
|
gmake oldtest
|
||||||
|
@ -47,9 +47,8 @@ bool terminfo_is_bsd_console(const char *term)
|
|||||||
// like cursor-shaping. Assume that TERM=xterm is degraded. #8644
|
// like cursor-shaping. Assume that TERM=xterm is degraded. #8644
|
||||||
return strequal(term, "xterm") && !!os_getenv("XTERM_VERSION");
|
return strequal(term, "xterm") && !!os_getenv("XTERM_VERSION");
|
||||||
# endif
|
# endif
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
#endif
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Loads a built-in terminfo db when we (unibilium) failed to load a terminfo
|
/// Loads a built-in terminfo db when we (unibilium) failed to load a terminfo
|
||||||
|
Loading…
Reference in New Issue
Block a user