summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-source-dep.yml
diff options
context:
space:
mode:
authorGuilherme Gallo <guilherme.gallo@collabora.com>2023-03-13 18:42:11 -0300
committerMarge Bot <emma+marge@anholt.net>2023-03-24 21:58:22 +0000
commit93e3d37b47c77b19b330e3d5c6d2440108636952 (patch)
treed423bbe1fcffc1a8364fd00c671c8c3d556d0e00 /.gitlab-ci/test-source-dep.yml
parentcadceac2a73d707c23d8f1fed9e63548f16b5851 (diff)
downloadmesa-93e3d37b47c77b19b330e3d5c6d2440108636952.tar.gz
ci: Add piglit traces hidden jobs
To better organize traces and traces-performance jobs that uses piglit to replay traces. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
Diffstat (limited to '.gitlab-ci/test-source-dep.yml')
-rw-r--r--.gitlab-ci/test-source-dep.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index e027aeb08c5..da7eb5b91a9 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -82,6 +82,44 @@
# even start until the separate script triggers on it).
allow_failure: true
+.piglit-performance-base:
+ allow_failure: true
+ variables:
+ LAVA_JOB_PRIORITY: 40
+ PIGLIT_REPLAY_SUBCOMMAND: "profile"
+ PIGLIT_REPLAY_EXTRA_ARGS: "--db-path ${CI_PROJECT_DIR}/replayer-db/"
+ # More than this can hit OOM due to BOs leaked during the replay of the last frame
+ PIGLIT_REPLAY_LOOP_TIMES: 150
+ # We don't want for more than one workload to be submitted to the GPU at a time
+ FDO_CI_CONCURRENT: 1
+ # Piglit is very sparse in its status output and downloads of big traces can take a while
+ LAVA_DEVICE_HANGING_TIMEOUT_SEC: 600
+ GIT_STRATEGY: none
+ HWCI_FREQ_MAX: "true"
+ # Always use the same device
+ LAVA_TAGS: "cbg-0"
+ # Ensure that we are using the release build artifact
+ MINIO_ARTIFACT_NAME: mesa-${ARCH}-release
+ # Reset dependencies in performance jobs to enforce the release build artifact
+ dependencies: null
+ # Don't run in parallel. It is okay to performance jobs to take a little
+ # longer to finish, as they don't block marge from merging an MR.
+ parallel: null
+
+.piglit-performance:arm64:
+ extends:
+ - .piglit-performance-base
+ needs:
+ - debian/arm64_test
+ - debian-arm64-release
+
+.piglit-performance:amd64:
+ extends:
+ - .piglit-performance-base
+ needs:
+ - kernel+rootfs_amd64
+ - debian-release
+
# Mesa source file dependencies that may impact any GL driver test job.
.gl-rules:
rules: