[gjs/wip/3v1n0/toggle-queue-tests: 3/4] ci: Use unity build with the maximum size possible




commit 3d96a11eb54ceb75403e0a3af1895940a7210070
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Sun May 16 15:59:26 2021 +0200

    ci: Use unity build with the maximum size possible
    
    Since this is a CI job we want to ensure we can join all the files
    together to ensure we use unique names everywhere.
    
    This is indeed not optimal in real world scenario (where this will
    prevent multi-jobs compilation), but it's good for testing.

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c69ab8f3..0761ed0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -141,9 +141,12 @@ build_unity:
   image: registry.gitlab.gnome.org/gnome/gjs:fedora.mozjs78
   variables:
     TASK_ID: "fedora-x86_64-gcc-default-unity-check"
+    # unity-size here is forced to use an high number to check whether we can
+    # join all the sources together, but should not be used in real world to
+    # not to break multi-jobs compilation
     CONFIG_OPTS: >-
       -Dprofiler=disabled
-      --unity on --unity-size=10
+      --unity on --unity-size=10000
   except:
     - schedules
 


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