diff options
author | Samuel Pitoiset <[email protected]> | 2020-02-26 09:33:14 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-05 20:33:56 +0000 |
commit | 1cdb6edbe6dcfa3b0d254dc0f1f31e35be3b10ff (patch) | |
tree | e584a98518a21f3988097776adf979b9adfc6778 /.gitlab-ci/fossilize-runner.sh | |
parent | 93fcc9ad57a7e0e64ae45988e62b24563ff9fdc3 (diff) |
gitlab-ci: add Fossilize support to detect compiler regressions
Fossilize is equivalent to vkpipeline-db but it's definitely more
robust. This is based on the CI traces system.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Alexandros Frantzis <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>
Diffstat (limited to '.gitlab-ci/fossilize-runner.sh')
-rwxr-xr-x | .gitlab-ci/fossilize-runner.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci/fossilize-runner.sh b/.gitlab-ci/fossilize-runner.sh new file mode 100755 index 00000000000..618c2aa5b72 --- /dev/null +++ b/.gitlab-ci/fossilize-runner.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -ex + +if [ -z "$VK_DRIVER" ]; then + echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run' + exit 1 +fi + +ARTIFACTS=`pwd`/artifacts + +# Set up the driver environment. +export LD_LIBRARY_PATH=`pwd`/install/lib/ +export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json + +"$ARTIFACTS/fossils/fossils.sh" "$ARTIFACTS/fossils.yml" |