From 9dbc8a7ee3d842f29fdbc7f199614ac5c753361f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 8 Sep 2023 12:17:37 +0100 Subject: [PATCH] ci: Declare stages before jobs It looks like GitLab 16.x requires us to declare the stages before we declare any jobs, else it falls down resolving 'needs' with 'job is not in any earlier stage'. Part-of: --- .gitlab-ci.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8beaf9c..08e64fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,6 +78,24 @@ default: - data_integrity_failure - unknown_failure +stages: + - sanity + - container + - git-archive + - build-x86_64 + - build-misc + - lint + - amd + - intel + - nouveau + - arm + - broadcom + - freedreno + - etnaviv + - software-renderer + - layered-backends + - deploy + include: - project: 'freedesktop/ci-templates' ref: 16bc29078de5e0a067ff84a1a199a3760d3b3811 @@ -116,24 +134,6 @@ include: - local: 'src/panfrost/ci/gitlab-ci.yml' - local: 'src/virtio/ci/gitlab-ci.yml' -stages: - - sanity - - container - - git-archive - - build-x86_64 - - build-misc - - lint - - amd - - intel - - nouveau - - arm - - broadcom - - freedreno - - etnaviv - - software-renderer - - layered-backends - - deploy - # YAML anchors for rule conditions # -------------------------------- -- 2.7.4