panfrost: ci: Speed things up a bit by skipping a git clone
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 17 Jun 2019 05:56:00 +0000 (07:56 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 17 Jun 2019 07:17:53 +0000 (09:17 +0200)
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/ci/gitlab-ci.yml

index 573f21c3c7473f51094063d291f2fc21c122f784..5bab95465ff8ba42b8498acc16f09b85d32abe4d 100644 (file)
@@ -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: