mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR
This commit is contained in:
parent
86eba08a4b
commit
d0714e87d6
@ -37,13 +37,13 @@ build_deps() {
|
||||
# update CMake configuration and update to newer deps versions.
|
||||
cd "${DEPS_BUILD_DIR}"
|
||||
echo "Configuring with '${DEPS_CMAKE_FLAGS}'."
|
||||
CC= cmake -G Ninja ${DEPS_CMAKE_FLAGS} "${TRAVIS_BUILD_DIR}/third-party/"
|
||||
CC= cmake -G Ninja ${DEPS_CMAKE_FLAGS} "${CI_BUILD_DIR}/third-party/"
|
||||
|
||||
if ! top_make; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "${TRAVIS_BUILD_DIR}"
|
||||
cd "${CI_BUILD_DIR}"
|
||||
}
|
||||
|
||||
prepare_build() {
|
||||
@ -54,7 +54,7 @@ prepare_build() {
|
||||
mkdir -p "${BUILD_DIR}"
|
||||
cd "${BUILD_DIR}"
|
||||
echo "Configuring with '${CMAKE_FLAGS} $@'."
|
||||
cmake -G Ninja ${CMAKE_FLAGS} "$@" "${TRAVIS_BUILD_DIR}"
|
||||
cmake -G Ninja ${CMAKE_FLAGS} "$@" "${CI_BUILD_DIR}"
|
||||
}
|
||||
|
||||
build_nvim() {
|
||||
@ -84,5 +84,5 @@ build_nvim() {
|
||||
fi
|
||||
check_sanitizer "${LOG_DIR}"
|
||||
|
||||
cd "${TRAVIS_BUILD_DIR}"
|
||||
cd "${CI_BUILD_DIR}"
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
|
||||
mkdir -p "$CI_BUILD_DIR/snaps-cache"
|
||||
sg lxd -c snapcraft
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user