[PATCH v3 2/7] gitlab-ci: exclude intermediate outputs from Windows artifacts
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Nov 11, 2026, 10:47 UTC
- Message-ID
- <20261111-pks-gitlab-ci-speedups-v3-2-d1e34117ee2e@pks.im>
- In-Reply-To
- <20261111-pks-gitlab-ci-speedups-v3-0-d1e34117ee2e@pks.im>
As running tests is very slow on Windows we shard our CI tests across 10 runners. To avoid rebuilding Git on each of those runners we have a preliminary step which builds Git and then passes on the build artifacts to the test jobs.
This archive contains a ton of intermediate "*.obj" build artifacts that aren't needed by the test jobs: the artifact contains ~2300 files, out of which ~1800 are "*.obj" files.
Exclude those files from the build artifact, which reduces the time it takes to download and extract them from 34 seconds to 17 seconds.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b7698a0037..3631393a8cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -187,6 +187,8 @@ build:msvc-meson: artifacts: paths: - build + exclude: + - build/**/*.obj test:msvc-meson: extends: .msvc-meson
-- 2.56.0.611.g1030f0b940.dirty