diff options
author | Michel Dänzer <[email protected]> | 2019-10-23 18:42:53 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2019-11-12 10:14:26 +0100 |
commit | 59fcb019d02804f721477cac11fa6c23f1850ef1 (patch) | |
tree | d3ffc761596d4656f9ddb91e8f0678fb17269614 /.gitlab-ci.yml | |
parent | 2921a38484b2d390158f6844f1654b787900226e (diff) |
gitlab-ci: Move artifact preparation to separate script
It's currently only needed for the meson-main and meson-arm64 jobs, not
the other meson build jobs.
Also remove MESON_SHADERDB, just run .gitlab-ci/run-shader-db.sh
directly from the meson-main job.
v2:
* Also run prepare-artifacts.sh in meson-arm64 script
v3:
* Move tarball creation into the new script as well, as it prevented
ccache --show-stats from running in after_script
Reviewed-by: Eric Engestrom <[email protected]> # v1
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2882e449ff7..ceb78f363fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -161,12 +161,6 @@ debian-10-test:arm64: - ccache --zero-stats || true - ccache --show-stats || true after_script: - # In case the install dir is being saved as artifacts, tar it up - # so that symlinks and hardlinks aren't each packed separately in - # the zip file. - - if [ -d install ]; then - tar -cf artifacts/install.tar install; - fi - export CCACHE_DIR="$PWD/ccache" - ccache --show-stats @@ -222,8 +216,11 @@ meson-main: EXTRA_OPTION: > -D osmesa=gallium -D tools=all - MESON_SHADERDB: "true" BUILDTYPE: "debugoptimized" + script: + - .gitlab-ci/meson-build.sh + - .gitlab-ci/run-shader-db.sh + - .gitlab-ci/prepare-artifacts.sh .meson-cross: extends: @@ -270,6 +267,9 @@ meson-arm64: - .ci-deqp-artifacts variables: BUILDTYPE: "debugoptimized" + script: + - .gitlab-ci/meson-build.sh + - .gitlab-ci/prepare-artifacts.sh # NOTE: Building SWR is 2x (yes two) times slower than all the other # gallium drivers combined. |