ci: containerize the external dependencies test

Cirrus ci automatically pushes/caches docker images, which makes
containerization much simpler to handle. Moving this job to cirrus ci
shortens the job by a minute, and reduces github actions CI usage by two
minutes per PR.
This commit is contained in:
dundargoc
2023-04-26 23:22:12 +02:00
committed by GitHub
parent a1b045f60a
commit 7d0479c558
3 changed files with 36 additions and 44 deletions

View File

@@ -26,3 +26,17 @@ freebsd_task:
- sudo -u cirrus gmake unittest
oldtest_script:
- sudo -u cirrus gmake oldtest
with_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 --build .deps
build_script:
- cmake --preset ci
- cmake --build build