diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-10 13:56:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-10 13:56:07 +0100 |
| commit | d5b1712dc4ced82e15a9a736626d4e2e3370c9b4 (patch) | |
| tree | d5981376ba3e62f6d3a14cb1f3c5106f682fe436 /.github/workflows/ci.yml | |
| parent | 827947447e4d084e30850ff6530023c9db6d317f (diff) | |
| download | rneovim-d5b1712dc4ced82e15a9a736626d4e2e3370c9b4.tar.gz rneovim-d5b1712dc4ced82e15a9a736626d4e2e3370c9b4.tar.bz2 rneovim-d5b1712dc4ced82e15a9a736626d4e2e3370c9b4.zip | |
ci: remove unnecessary environment variables (#22175)
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c171920d4f..c27100072f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,8 +85,8 @@ jobs: - if: success() || failure() && steps.abort_job.outputs.status == 'success' name: luacheck run: | - cmake -B $BUILD_DIR -G Ninja - cmake --build $BUILD_DIR --target lintlua-luacheck + cmake -B build -G Ninja + cmake --build build --target lintlua-luacheck - if: success() || failure() && steps.abort_job.outputs.status == 'success' name: lintsh @@ -274,10 +274,10 @@ jobs: - name: Install minimum required version of cmake run: | curl --retry 5 --silent --show-error --fail -o /tmp/cmake-installer.sh "$CMAKE_URL" - mkdir -p "$HOME/.local/bin" /opt/cmake-custom + mkdir -p "$BIN_DIR" /opt/cmake-custom chmod a+x /tmp/cmake-installer.sh /tmp/cmake-installer.sh --prefix=/opt/cmake-custom --skip-license - ln -sfn /opt/cmake-custom/bin/cmake "$HOME/.local/bin/cmake" + ln -sfn /opt/cmake-custom/bin/cmake "$BIN_DIR/cmake" cmake_version="$(cmake --version | head -1)" echo "$cmake_version" | grep -qF "cmake version $CMAKE_VERSION" || { echo "Unexpected CMake version: $cmake_version" @@ -300,8 +300,6 @@ jobs: timeout-minutes: 45 env: DEPS_BUILD_DIR: ${{ github.workspace }}/nvim-deps - CACHE_NVIM_DEPS_DIR: ${{ github.workspace }}/nvim-deps - DEPS_PREFIX: ${{ github.workspace }}/nvim-deps/usr name: windows (MSVC_64) steps: - uses: actions/checkout@v3 @@ -318,7 +316,7 @@ jobs: - name: Build nvim run: | - cmake -B build -G Ninja -D CMAKE_BUILD_TYPE='RelWithDebInfo' -D DEPS_PREFIX="$env:DEPS_PREFIX" -D CI_BUILD=ON + cmake -B build -G Ninja -D CMAKE_BUILD_TYPE='RelWithDebInfo' -D CI_BUILD=ON cmake --build build - name: Install test deps |