ci: move deqp-egl instead of copying it
authorEric Engestrom <eric@igalia.com>
Wed, 12 Apr 2023 10:10:19 +0000 (11:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Apr 2023 11:28:21 +0000 (11:28 +0000)
To make sure we can't accidentally run a random leftover platform.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Helen Koike <helen.koike@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22450>

.gitlab-ci/container/build-deqp.sh

index 432657f..67e2ff0 100644 (file)
@@ -48,14 +48,14 @@ if [ "${DEQP_TARGET}" != 'android' ]; then
         -DCMAKE_BUILD_TYPE=Release \
         $EXTRA_CMAKE_ARGS
     ninja modules/egl/deqp-egl
-    cp /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-x11
+    mv /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-x11
 
     cmake -S /VK-GL-CTS -B . -G Ninja \
         -DDEQP_TARGET=wayland \
         -DCMAKE_BUILD_TYPE=Release \
         $EXTRA_CMAKE_ARGS
     ninja modules/egl/deqp-egl
-    cp /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-wayland
+    mv /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-wayland
 fi
 
 cmake -S /VK-GL-CTS -B . -G Ninja \