mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
ci: run all suites with run_suite function
This commit is contained in:
@@ -44,7 +44,9 @@ build_deps() {
|
||||
cd "${CI_BUILD_DIR}"
|
||||
}
|
||||
|
||||
prepare_build() {
|
||||
build_nvim() {
|
||||
check_core_dumps --delete quiet
|
||||
|
||||
if test -n "${CLANG_SANITIZER}" ; then
|
||||
CMAKE_FLAGS="${CMAKE_FLAGS} -DCLANG_${CLANG_SANITIZER}=ON"
|
||||
fi
|
||||
@@ -53,9 +55,8 @@ prepare_build() {
|
||||
cd "${BUILD_DIR}"
|
||||
echo "Configuring with '${CMAKE_FLAGS} $@'."
|
||||
cmake -G Ninja ${CMAKE_FLAGS} "$@" "${CI_BUILD_DIR}"
|
||||
}
|
||||
|
||||
build_nvim() {
|
||||
|
||||
echo "Building nvim."
|
||||
if ! top_make nvim ; then
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user