Mesa (main): ci: Create symlink to /install early
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 18 14:06:48 UTC 2021
Module: Mesa
Branch: main
Commit: 8acdf1f71c803226f6854e2f8b4d9dc82bcb680d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8acdf1f71c803226f6854e2f8b4d9dc82bcb680d
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Wed Sep 8 07:38:59 2021 +0200
ci: Create symlink to /install early
So we can use well-known absolute paths in configuration files.
Otherwise, the install dir is within $CI_PROJECT_DIR, which changes
between jobs.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Corentin Noël <corentin.noel at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12828>
---
.gitlab-ci/deqp-runner.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index ea1b8156430..f106baffee8 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -2,6 +2,9 @@
set -ex
+# Needed so configuration files can contain paths to files in /install
+ln -sf $CI_PROJECT_DIR/install /install
+
if [ -z "$GPU_VERSION" ]; then
echo 'GPU_VERSION must be set to something like "llvmpipe" or "freedreno-a630" (the name used in .gitlab-ci/gpu-version-*.txt)'
exit 1
More information about the mesa-commit
mailing list