[gimp/wip/Jehan/shorter-distcheck] gitlab-ci: minimum build before the distcheck.




commit 7416029dcb9bae835595551b65651d55f6ba3ed1
Author: Jehan <jehan girinstud io>
Date:   Thu Aug 6 12:51:46 2020 +0200

    gitlab-ci: minimum build before the distcheck.
    
    The `make` step is mandatory before `make distcheck` (as far as my tests
    go), but probably we don't need such a thorough build (this is taken
    care of in its own step). So let's remove as much options as possible to
    get a minimum build and see how much time can be shaved off from this CI
    step as it is really far too long (even with my previous commit, it
    seems to be around 50 minutes for the whole make && make distcheck).

 .gitlab-ci.yml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc7509dead..51c1ed75ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -181,7 +181,6 @@ gimp-debian/testing-autotools:
 gimp-debian/testing-autotools-distcheck:
   extends: .gimp-debian/testing-base
   script:
-    # Actual build.
     - mkdir _build
     - cd _build
     - ../autogen.sh
@@ -189,6 +188,17 @@ gimp-debian/testing-autotools-distcheck:
         --enable-debug
         --disable-python
         --enable-gtk-doc
+        --without-jpeg2000
+        --without-libmng
+        --without-cairo-pdf
+        --without-openexr
+        --without-webp
+        --without-wmf
+        --without-libxpm
+        --without-xmc
+        --without-gudev
+        --without-linux-input
+        --without-print
     - make -j "$(nproc)"
     - make distcheck
   allow_failure: true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]