build: add CMakePresets for deps build to reduce verbosity

This commit is contained in:
dundargoc
2023-04-29 01:48:36 +02:00
committed by GitHub
parent 057af3203b
commit 1290121722
2 changed files with 27 additions and 6 deletions

View File

@ -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