ci: move general build commands to their own section
authorAndres Gomez <agomez@igalia.com>
Wed, 11 Nov 2020 19:29:46 +0000 (21:29 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Dec 2020 18:31:01 +0000 (18:31 +0000)
The STRIP_CMD env var is used in several build scripts, not just by
dEQP.

Also, we want to have the rootfs destination directory created so it
also exists for builds that only move directory trees in there.

Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6388>

.gitlab-ci.yml
.gitlab-ci/container/lava_build.sh
.gitlab-ci/lava-gitlab-ci.yml

index 5264148..f06391f 100644 (file)
@@ -408,7 +408,7 @@ arm64_test:
   extends:
     - .use-arm_test-base
   variables:
-    MESA_IMAGE_TAG: &arm64_test "2020-12-17-fdo-upstream-repo"
+    MESA_IMAGE_TAG: &arm64_test "2020-12-18-lava"
 
 .use-arm64_test:
   variables:
@@ -422,7 +422,7 @@ armhf_test:
   extends:
     - .use-arm_test-base
   variables:
-    MESA_IMAGE_TAG: &armhf_test "2020-12-17-fdo-upstream-repo"
+    MESA_IMAGE_TAG: &armhf_test "2020-12-18-lava"
 
 .use-armhf_test:
   variables:
index a4a6661..62c0bcd 100755 (executable)
@@ -97,15 +97,19 @@ if [[ "$DEBIAN_ARCH" = "armhf" ]]; then
                        qtbase5-dev:armhf
 fi
 
-############### Build dEQP runner
 
+############### Building
+STRIP_CMD="${GCC_ARCH}-strip"
+mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}
+
+
+############### Build dEQP runner
 . .gitlab-ci/build-deqp-runner.sh
 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin
 mv /usr/local/bin/deqp-runner /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin/.
 
 
 ############### Build dEQP
-STRIP_CMD="${GCC_ARCH}-strip"
 DEQP_TARGET=surfaceless . .gitlab-ci/build-deqp.sh
 
 mv /deqp /lava-files/rootfs-${DEBIAN_ARCH}/.
index f5e635c..79784e2 100644 (file)
@@ -1,5 +1,5 @@
 variables:
-  DISTRIBUTION_TAG: "2020-12-17-fdo-upstream-repo"
+  DISTRIBUTION_TAG: "2020-12-18-lava"
 
 .kernel+rootfs:
   stage: container-2