mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
ci: move configuring cmake to the build part of the CI
If the configuration fails then lints shouldn't be run, as most lint steps depends on a successful configuration.
This commit is contained in:
parent
59542504b4
commit
3683d6b7a8
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -75,6 +75,10 @@ jobs:
|
||||
cmake -S cmake.deps -B $DEPS_BUILD_DIR -G Ninja
|
||||
cmake --build $DEPS_BUILD_DIR
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: configure
|
||||
run: cmake -B build -G Ninja -D CI_BUILD=OFF
|
||||
|
||||
- if: "!cancelled()"
|
||||
name: Determine if run should be aborted
|
||||
id: abort_job
|
||||
@ -88,10 +92,6 @@ jobs:
|
||||
version: latest
|
||||
args: --check runtime/
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: configure
|
||||
run: cmake -B build -G Ninja -D CI_BUILD=OFF
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: luacheck
|
||||
run: cmake --build build --target lintlua-luacheck
|
||||
|
Loading…
Reference in New Issue
Block a user