From 8acdf1f71c803226f6854e2f8b4d9dc82bcb680d Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 8 Sep 2021 07:38:59 +0200 Subject: [PATCH] ci: Create symlink to /install early MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Corentin Noël Part-of: --- .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