diff options
author | Guilherme Gallo <guilherme.gallo@collabora.com> | 2023-02-26 23:05:59 -0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-02-28 22:19:48 +0000 |
commit | 5b9a6106041263b40ba7789fbd3586aafa17faff (patch) | |
tree | e6fa8c6959b482610b82d5a07902399b737f26b4 /.gitlab-ci/build | |
parent | c91f4b2efbf66c4c3fd1a945281187587e14ab37 (diff) | |
download | mesa-5b9a6106041263b40ba7789fbd3586aafa17faff.tar.gz |
ci: Use workflow to make CI aware of performance jobs
With the workflow keyword, we can have more control over how pipelines
are created.
One of the features is to set a variable for the entire pipeline
depending on the rule. These variables would be available for all jobs
manifest and can be used inside job rules, for example.
We can use that to set a variable to enable performance jobs in the
pipeline, both at the YAML and script levels.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492>
Diffstat (limited to '.gitlab-ci/build')
-rw-r--r-- | .gitlab-ci/build/gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci/build/gitlab-ci.yml b/.gitlab-ci/build/gitlab-ci.yml index 51f1b694e35..4436788e624 100644 --- a/.gitlab-ci/build/gitlab-ci.yml +++ b/.gitlab-ci/build/gitlab-ci.yml @@ -227,7 +227,7 @@ debian-release: MINIO_ARTIFACT_NAME: "mesa-amd64-rel" script: - .gitlab-ci/meson/build.sh - - .gitlab-ci/prepare-artifacts.sh + - 'if [ -n "$MESA_CI_PERFORMANCE_ENABLED" ]; then .gitlab-ci/prepare-artifacts.sh; fi' alpine-build-testing: extends: @@ -468,6 +468,9 @@ debian-arm64-release: BUILDTYPE: "release" C_ARGS: > -Wno-error=stringop-truncation + script: + - .gitlab-ci/meson/build.sh + - 'if [ -n "$MESA_CI_PERFORMANCE_ENABLED" ]; then .gitlab-ci/prepare-artifacts.sh; fi' debian-clang: extends: .meson-build |