Mesa (master): panfrost: ci: Speed things up a bit by skipping a git clone

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 17 07:18:47 UTC 2019


Module: Mesa
Branch: master
Commit: e655d636440e2a16e77b56879f8f3b009937e6d7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e655d636440e2a16e77b56879f8f3b009937e6d7

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Mon Jun 17 07:56:00 2019 +0200

panfrost: ci: Speed things up a bit by skipping a git clone

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>

---

 src/gallium/drivers/panfrost/ci/gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/panfrost/ci/gitlab-ci.yml b/src/gallium/drivers/panfrost/ci/gitlab-ci.yml
index 573f21c3c74..5bab95465ff 100644
--- a/src/gallium/drivers/panfrost/ci/gitlab-ci.yml
+++ b/src/gallium/drivers/panfrost/ci/gitlab-ci.yml
@@ -117,6 +117,7 @@ container:arm64:
         --device-type ${DEVICE_TYPE}
         --kernel-image-name ${KERNEL_IMAGE_NAME}
         > results/lava-deqp.yml
+    - cp src/gallium/drivers/panfrost/ci/expected-failures.txt results/.
   artifacts:
     when: always
     paths:
@@ -143,6 +144,8 @@ build:arm64:
   tags:
     - idle-jobs
   image: $CI_REGISTRY/$CI_PROJECT_PATH/arm64:latest  # Any of the images will be fine
+  variables:
+    GIT_STRATEGY: none # no need to pull the whole tree for submitting the job
   script:
     - mkdir -p ~/.config/
     - |
@@ -217,7 +220,7 @@ build:arm64:
         dEQP-GLES2.functional.shaders.builtin_variable.max_draw_buffers_vertex
         "
 
-    - for test in $FLIP_FLOPS; do sed -i "/$test/d" src/gallium/drivers/panfrost/ci/expected-failures.txt results/results-$lava_job_id.csv; done
+    - for test in $FLIP_FLOPS; do sed -i "/$test/d" results/expected-failures.txt results/results-$lava_job_id.csv; done
 
     - PASSED=$(grep pass$ results/results-$lava_job_id.csv | wc -l)
     - FAILED=$(grep fail$ results/results-$lava_job_id.csv | wc -l)
@@ -228,7 +231,7 @@ build:arm64:
     - 'if [ $TOTAL != 16375 ]; then echo "WARNING: Unexpected count of results. Incomplete run?"; fi'
 
     - sed '/,pass/d' results/results-$lava_job_id.csv | sed 's/,fail//' > results/failures-$lava_job_id.txt
-    - diff -u src/gallium/drivers/panfrost/ci/expected-failures.txt results/failures-$lava_job_id.txt
+    - diff -u results/expected-failures.txt results/failures-$lava_job_id.txt
   artifacts:
     when: always
     paths:




More information about the mesa-commit mailing list