gitlab-ci: build dEQP VK 1.1.6 in the x86 test image for VK
[mesa.git] / .gitlab-ci / build-deqp-vk.sh
1 git clone --depth 1 \
2 https://github.com/KhronosGroup/VK-GL-CTS.git \
3 -b vulkan-cts-1.1.6.0 \
4 /VK-GL-CTS
5 cd /VK-GL-CTS
6
7 # --insecure is due to SSL cert failures hitting sourceforge for zlib and
8 # libpng (sigh). The archives get their checksums checked anyway, and git
9 # always goes through ssh or https.
10 python3 external/fetch_sources.py --insecure
11
12 mkdir -p /deqp
13 cd /deqp
14 cmake -G Ninja \
15 -DDEQP_TARGET=x11_glx \
16 -DCMAKE_BUILD_TYPE=Release \
17 /VK-GL-CTS
18 ninja -j4
19
20 # Copy out the mustpass list we want.
21 mkdir /deqp/mustpass
22 cp /VK-GL-CTS/external/vulkancts/mustpass/master/vk-default.txt \
23 /deqp/mustpass/vk-master.txt
24
25 rm -rf /deqp/modules/internal
26 rm -rf /deqp/executor
27 rm -rf /deqp/execserver
28 rm -rf /deqp/modules/egl
29 rm -rf /deqp/framework
30 find -iname '*cmake*' -o -name '*ninja*' -o -name '*.o' -o -name '*.a' | xargs rm -rf
31 strip external/vulkancts/modules/vulkan/deqp-vk
32 du -sh *
33 rm -rf /VK-GL-CTS