aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/env.sh
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-11 13:27:43 +0100
committerGitHub <noreply@github.com>2023-02-11 13:27:43 +0100
commit883ec20d9f91bde9c348bfcc0e1fcc3e3533cd89 (patch)
tree5af11abce6926bf5c5776131179c8ad234320116 /.github/workflows/env.sh
parentb0d156c00b3900c8e40cf7f0e76c34b734d50598 (diff)
downloadrneovim-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 '.github/workflows/env.sh')
-rwxr-xr-x.github/workflows/env.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/env.sh b/.github/workflows/env.sh
index b4cdb3a8d9..4a22c796b4 100755
--- a/.github/workflows/env.sh
+++ b/.github/workflows/env.sh
@@ -3,14 +3,14 @@ set -e -u
FLAVOR=${1:-}
-BUILD_DIR=$CI_BUILD_DIR/build
-BIN_DIR=$CI_BUILD_DIR/bin
+BUILD_DIR=$GITHUB_WORKSPACE/build
+BIN_DIR=$GITHUB_WORKSPACE/bin
DEPS_BUILD_DIR=$HOME/nvim-deps
-INSTALL_PREFIX=$CI_BUILD_DIR/nvim-install
+INSTALL_PREFIX=$GITHUB_WORKSPACE/nvim-install
LOG_DIR=$BUILD_DIR/log
NVIM_LOG_FILE=$BUILD_DIR/.nvimlog
VALGRIND_LOG=$LOG_DIR/valgrind-%p.log
-CACHE_DIR=$CI_BUILD_DIR/.cache
+CACHE_DIR=$GITHUB_WORKSPACE/.cache
CACHE_UNCRUSTIFY=$CACHE_DIR/uncrustify
DEPS_CMAKE_FLAGS=
FUNCTIONALTEST=functionaltest