]> granicus.if.org Git - graphviz/commitdiff
allow macOS CI tasks to run immediately
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 3 Apr 2021 17:56:00 +0000 (10:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Apr 2021 00:04:46 +0000 (17:04 -0700)
The macOS tasks were, by default, blocking on the portable source generation.
However these tasks do not use the portable source or any prior stage’s
artifacts. Now that we have moved to shared macOS runners without caching, the
macOS CI tasks are the limiting factor on CI runtime. Cutting this dependency
should meaningfully impact this.

.gitlab-ci.yml

index 45170e87a36c0f101762072acdd2933c161e12b9..4e5e7ab8a93a430ae9c19bce0a7d2d6d06895dd2 100644 (file)
@@ -76,6 +76,7 @@ portable-source:
 
 .build_template: &macos_build_definition
     stage: build
+    needs: [] # FIXME: remove when building from portable source
     script:
         - brew update
         - brew install autogen || brew upgrade autogen
@@ -325,9 +326,6 @@ ubuntu20-10-build:
 
 macos-autotools-build:
     <<: *macos_build_definition
-    needs:
-        - job: portable-source
-          artifacts: true
     before_script:
         - export build_system="autotools"
     tags:
@@ -407,9 +405,6 @@ fedora32-cmake-build:
 
 macos-cmake-build:
     <<: *macos_build_definition
-    needs:
-        - job: portable-source
-          artifacts: true
     before_script:
         - export build_system="cmake"
         # fail on any compiler warnings
@@ -585,8 +580,6 @@ macos-autotools-test:
         - python3 -m pip install --requirement requirements.txt
         - export build_system="autotools"
     needs:
-        - job: portable-source
-          artifacts: true
         - job: "macos-autotools-build"
           artifacts: true
     tags:
@@ -672,8 +665,6 @@ macos-cmake-test:
         - python3 -m pip install --requirement requirements.txt
         - export build_system="cmake"
     needs:
-        - job: portable-source
-          artifacts: true
         - job: "macos-cmake-build"
           artifacts: true
     tags: