From fb199971ef9ff40976ee91e890a48e6a5f57f0da Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 2 Oct 2025 10:13:58 -0400 Subject: [PATCH] ci: add needs field to check jobs Part-of: --- .gitlab-ci.yml | 3 +++ .gitlab-ci/templates/.gitlab-ci.yml.jinja | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23b69b97a..9affc92fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -641,6 +641,7 @@ windows: ipc-32-64-compatibility: stage: check dependencies: ["debian:cmake-no-opencv", "debian:cmake:32bit"] + needs: ["debian:cmake-no-opencv", "debian:cmake:32bit"] script: - diff -du "debian:cmake-no-opencv/ipc-sizes.txt" "debian:cmake:32bit/ipc-sizes.txt" - cmp "debian:cmake-no-opencv/ipc-sizes.txt" "debian:cmake:32bit/ipc-sizes.txt" @@ -652,6 +653,8 @@ clang-tidy: stage: check dependencies: - debian:cmake + needs: + - debian:cmake script: - file $(which run-clang-tidy) - run-clang-tidy -quiet -p build diff --git a/.gitlab-ci/templates/.gitlab-ci.yml.jinja b/.gitlab-ci/templates/.gitlab-ci.yml.jinja index 03eec48c2..a2dbc65bf 100644 --- a/.gitlab-ci/templates/.gitlab-ci.yml.jinja +++ b/.gitlab-ci/templates/.gitlab-ci.yml.jinja @@ -208,6 +208,7 @@ windows: ipc-32-64-compatibility: stage: check dependencies: ["debian:cmake-no-opencv", "debian:cmake:32bit"] + needs: ["debian:cmake-no-opencv", "debian:cmake:32bit"] script: - diff -du "debian:cmake-no-opencv/ipc-sizes.txt" "debian:cmake:32bit/ipc-sizes.txt" - cmp "debian:cmake-no-opencv/ipc-sizes.txt" "debian:cmake:32bit/ipc-sizes.txt" @@ -219,6 +220,8 @@ clang-tidy: stage: check dependencies: - debian:cmake + needs: + - debian:cmake script: - file $(which run-clang-tidy) - run-clang-tidy -quiet -p build -- 2.51.2