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 <samuel.pitoiset@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>
This commit is contained in:
Samuel Pitoiset
2020-02-26 09:33:14 +01:00
committed by Marge Bot
parent 93fcc9ad57
commit 1cdb6edbe6
5 changed files with 163 additions and 0 deletions

16
.gitlab-ci/fossilize-runner.sh Executable file
View File

@@ -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"