diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-11 13:27:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 13:27:43 +0100 |
commit | 883ec20d9f91bde9c348bfcc0e1fcc3e3533cd89 (patch) | |
tree | 5af11abce6926bf5c5776131179c8ad234320116 /ci/before_script.sh | |
parent | b0d156c00b3900c8e40cf7f0e76c34b734d50598 (diff) | |
download | rneovim-883ec20d9f91bde9c348bfcc0e1fcc3e3533cd89.tar.gz rneovim-883ec20d9f91bde9c348bfcc0e1fcc3e3533cd89.tar.bz2 rneovim-883ec20d9f91bde9c348bfcc0e1fcc3e3533cd89.zip |
ci: inline build commands and remove before_script.sh (#22202)
Abstracting the build commands to a separate script makes it more
difficult to reason about it and more error-prone.
Diffstat (limited to 'ci/before_script.sh')
-rwxr-xr-x | ci/before_script.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh deleted file mode 100755 index 9797d3ae30..0000000000 --- a/ci/before_script.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -o pipefail - -# Test some of the configuration variables. -if [[ -n "${GCOV}" ]] && [[ ! $(type -P "${GCOV}") ]]; then - echo "\$GCOV: '${GCOV}' is not executable." - exit 1 -fi - -if test "${FUNCTIONALTEST}" = "functionaltest-lua" ; then - DEPS_CMAKE_FLAGS="${DEPS_CMAKE_FLAGS} -D USE_BUNDLED_LUA=ON" -fi - -mkdir -p "${DEPS_BUILD_DIR}" -cd "${DEPS_BUILD_DIR}" -echo "Configuring with '${DEPS_CMAKE_FLAGS}'." -# shellcheck disable=SC2086 -cmake -G Ninja ${DEPS_CMAKE_FLAGS} "${CI_BUILD_DIR}/cmake.deps/" - -ninja || exit 1 - -cd "${CI_BUILD_DIR}" - -# Install cluacov for Lua coverage. -if [[ "$USE_LUACOV" == 1 ]]; then - "${DEPS_BUILD_DIR}/usr/bin/luarocks" install cluacov -fi - -rm -rf "${LOG_DIR}" -mkdir -p "${LOG_DIR}" |