mirror of
https://github.com/neovim/neovim.git
synced 2026-07-16 06:10:39 +00:00
build: add "ci" configure preset to reduce verbosity
`cmake --preset ci` is equivalent to `cmake -B build -G Ninja -D CI_BUILD=ON` Also remove build presets as they're not very useful without workflow presets, which are only available in schema versions 6 and above.
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -199,7 +199,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -B build -G Ninja -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.flags }} -D CI_BUILD=ON
|
||||
cmake --preset ci -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.flags }}
|
||||
cmake --build build
|
||||
|
||||
- if: "!cancelled()"
|
||||
@@ -305,7 +305,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -B build -G Ninja -D CMAKE_BUILD_TYPE='RelWithDebInfo' -D CI_BUILD=ON
|
||||
cmake --preset ci -D CMAKE_BUILD_TYPE='RelWithDebInfo'
|
||||
cmake --build build
|
||||
|
||||
- name: Install test deps
|
||||
@@ -395,5 +395,5 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -B build -G Ninja -D CI_BUILD=ON
|
||||
cmake --preset ci
|
||||
cmake --build build
|
||||
|
||||
Reference in New Issue
Block a user