mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
build: add CMakePresets for deps build to reduce verbosity
This commit is contained in:
parent
057af3203b
commit
1290121722
@ -27,15 +27,11 @@ freebsd_task:
|
||||
oldtest_script:
|
||||
- sudo -u cirrus gmake oldtest
|
||||
|
||||
with_external_deps_task:
|
||||
external_deps_task:
|
||||
container:
|
||||
dockerfile: ci/Dockerfile.external_deps
|
||||
deps_script:
|
||||
# Ideally all dependencies should external for this job, but some
|
||||
# dependencies don't have the required version available. We use the
|
||||
# bundled versions for these with the hopes of being able to remove them
|
||||
# later on.
|
||||
- cmake -S cmake.deps -B .deps -G Ninja -D USE_BUNDLED=OFF -D USE_BUNDLED_LIBVTERM=ON -D USE_BUNDLED_TS=ON
|
||||
- cmake -S cmake.deps --preset external_deps
|
||||
- cmake --build .deps
|
||||
build_script:
|
||||
- cmake --preset ci
|
||||
|
25
cmake.deps/CMakePresets.json
Normal file
25
cmake.deps/CMakePresets.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "base",
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/../.deps",
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"name": "ci",
|
||||
"inherits": ["base"]
|
||||
},
|
||||
{
|
||||
"name": "external_deps",
|
||||
"description": "Build neovim with external deps on ubuntu",
|
||||
"cacheVariables": {
|
||||
"USE_BUNDLED":"OFF",
|
||||
"USE_BUNDLED_LIBVTERM":"ON",
|
||||
"USE_BUNDLED_TS":"ON"
|
||||
},
|
||||
"inherits": ["base"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user