aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-23 17:12:46 +0200
committerGitHub <noreply@github.com>2023-04-23 17:12:46 +0200
commit664f2749e688e2aa2b322d2296111e1246a860ee (patch)
treef043430fe1304096177c2eabfe2f5ddbcf972a2b /.github/workflows
parent943ac2be55b7fcb6bf7fd9c80fd22bd4867b672f (diff)
downloadrneovim-664f2749e688e2aa2b322d2296111e1246a860ee.tar.gz
rneovim-664f2749e688e2aa2b322d2296111e1246a860ee.tar.bz2
rneovim-664f2749e688e2aa2b322d2296111e1246a860ee.zip
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c58582157f..2fc6b13ec4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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