From 1030268c6df55df72942bf607cd0882e3704145c Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 2 Apr 2025 09:51:55 +0300 Subject: [PATCH] gitlab-ci.yml: Limit gcov and perfetto to just x86 build This should speed up considerably the other builds / tests. Signed-off-by: Marius Vlad --- .gitlab-ci.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9d440a9c..0cd16ef5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -439,7 +439,7 @@ aarch64-debian-container_prep: - job: aarch64-debian-container_prep artifacts: false -# Full build, used for testing under KVM. +# Full build (gcov + perfetto) used for testing under KVM. .build-options-full: stage: "Full build and test" variables: @@ -455,10 +455,19 @@ aarch64-debian-container_prep: - ninja -C "$BUILDDIR" coverage-html > "$BUILDDIR/meson-logs/ninja-coverage-html.txt" - ninja -C "$BUILDDIR" coverage-xml +# Full build, (without gcov and perfetto) +.build-options-full-v2: + stage: "Full build and test" + variables: + MESON_OPTIONS: > + -Doptimization=0 + -Dwerror=true + -Dtest-skip-is-failure=true + x86_64-debian-lts-full-build: extends: - .test-env-debian-lts-x86_64 - - .build-options-full + - .build-options-full-v2 x86_64-debian-full-build: extends: @@ -473,36 +482,36 @@ x86_64-debian-full-build: aarch64-debian-lts-full-build: extends: - .test-env-debian-lts-aarch64 - - .build-options-full + - .build-options-full-v2 aarch64-debian-full-build: extends: - .test-env-debian-aarch64 - - .build-options-full + - .build-options-full-v2 x86_64-clang-debian-lts-full-build: extends: - .test-env-debian-lts-x86_64 - .build-with-clang - - .build-options-full + - .build-options-full-v2 x86_64-clang-debian-full-build: extends: - .test-env-debian-x86_64 - .build-with-clang - - .build-options-full + - .build-options-full-v2 aarch64-clang-debian-lts-full-build: extends: - .test-env-debian-lts-aarch64 - .build-with-clang - - .build-options-full + - .build-options-full-v2 aarch64-clang-debian-full-build: extends: - .test-env-debian-aarch64 - .build-with-clang - - .build-options-full + - .build-options-full-v2 # Docs should be invariant on all architectures, so we only do it on Debian # x86-64.