da34bd4d8d44063dba86c515f4b9f21f4315df9a
5 INSTALL
="$(pwd)/install"
7 # Set the Vulkan driver to use.
8 export VK_ICD_FILENAMES
="$(pwd)/install/share/vulkan/icd.d/${VK_DRIVER}_icd.x86_64.json"
10 # Set environment for VulkanTools' VK_LAYER_LUNARG_screenshot layer.
11 export VK_LAYER_PATH
="$VK_LAYER_PATH:/VulkanTools/build/etc/vulkan/explicit_layer.d"
12 export LD_LIBRARY_PATH
="$LD_LIBRARY_PATH:/VulkanTools/build/lib"
14 # Set environment for Wine
15 export WINEDEBUG
="-all"
16 export WINEPREFIX
="/dxvk-wine64"
19 # Set environment for DXVK
20 export DXVK_LOG_LEVEL
="none"
21 export DXVK_STATE_CACHE
=0
23 # For artifact uploads to MinIO
24 cp install
/.minio_credentials .
26 # Perform a self-test to ensure tracie is working properly.
27 python3
-m pytest
-v --pyargs $INSTALL/tracie
/tests
/test.py
29 # Sanity check to ensure that our environment is sufficient to make our tests
30 # run against the Mesa built by CI, rather than any installed distro version.
31 MESA_VERSION
=$
(cat "$INSTALL/VERSION" |
sed 's/\./\\./g')
32 vulkaninfo |
grep "Mesa $MESA_VERSION\(\s\|$\)"
34 # Run gfxreconstruct traces against the host's running X server (xvfb
35 # doesn't have DRI3 support).
36 # Set the DISPLAY env variable in each gitlab-runner's configuration
38 # https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section
39 PATH
="/gfxreconstruct/build/bin:$PATH" \
40 python3
"$INSTALL/tracie/tracie.py" --file "$INSTALL/traces.yml" --device-name "$DEVICE_NAME"