diff options
author | Tomeu Vizoso <[email protected]> | 2020-03-24 12:58:30 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-26 09:30:48 +0000 |
commit | 92f3c51560f9eb2387b1d929f694244c0b7bd577 (patch) | |
tree | 822ba14faa2b9c06594384f23131cdbe141daedb /.gitlab-ci/lava-deqp.yml.jinja2 | |
parent | b94c277fd1e7e8008ccc37aa2f4dd547ef92688b (diff) |
gitlab-ci: Place files from the Mesa repo into the build tarball
There's some files from the .gitlab-ci directory that are needed in the
test stage and that, because the Mesa repository isn't checked out in
that stage, need to be made available through other means.
Because those files are going to be needed in LAVA devices, place them
ino the tarball containing the built files so it's available to both
gitlab-ci runners and LAVA devices.
Before those files were passed in the artifacts of the Gitlab CI job,
but this commit places them into the built tarball so scripts later in
the pipeline don't need to account for this discrepancy.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4295>
Diffstat (limited to '.gitlab-ci/lava-deqp.yml.jinja2')
-rw-r--r-- | .gitlab-ci/lava-deqp.yml.jinja2 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/.gitlab-ci/lava-deqp.yml.jinja2 b/.gitlab-ci/lava-deqp.yml.jinja2 index 3cd217291d4..e7d980ec0cc 100644 --- a/.gitlab-ci/lava-deqp.yml.jinja2 +++ b/.gitlab-ci/lava-deqp.yml.jinja2 @@ -83,6 +83,9 @@ actions: - export {{ env_vars }} {% endif %} + # deqp-runner.sh assumes some stuff is in pwd + - cd / + - export DEQP_NO_SAVE_RESULTS=1 - 'export DEQP_RUNNER_OPTIONS="--compact-display false --shuffle false"' - export DEQP_EXPECTED_FAILS=deqp-{{ gpu_version }}-fails.txt @@ -90,15 +93,7 @@ actions: - export DEQP_VER={{ deqp_version }} - export LIBGL_DRIVERS_PATH=`pwd`/install/lib/dri - # Put stuff where the runner script expects it - - mkdir artifacts - - mkdir results - - mkdir -p install/lib - - cp /deqp/$DEQP_EXPECTED_FAILS artifacts/. - - cp /deqp/$DEQP_SKIPS artifacts/. - - mv /mesa/lib/* install/lib/. - - - "if sh /deqp/deqp-runner.sh; then + - "if sh /install/deqp-runner.sh; then echo 'deqp: pass'; else echo 'deqp: fail'; |