Skip to content

ci: Fix tests, don't build dependencies during build stage

Building dependencies from source (like Libadwaita) can take some time, so doing it for every build is inneficient.

But more importantly, since commit bc5c9976, the tests depend on the build output, but don't actually build. So any dependencies for running the tests must be available globally.

Therefore, build dependencies into the container.

Also, only clone with depth 1, as nothing more is needed.

This also adds building GTK from source, as we need gtk!7306 (merged), but also gtk!7308 (closed) or gtk!7313 (merged). As soon as one of those lands, we can merge this.

Merge request reports