summaryrefslogtreecommitdiff
path: root/.gitlab-ci/fossilize-runner.sh
blob: b2cd2f56e4ba95749c1a62dff8d75c56c1fcfe37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

INSTALL=`pwd`/install

# 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

"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml"