]> granicus.if.org Git - graphviz/commitdiff
CI: add Automake installation for macOS
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 24 Jan 2022 21:13:42 +0000 (08:13 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 25 Jan 2022 21:37:17 +0000 (08:37 +1100)
Automake (and its dependent, Autoconf) are needed for Autotools-based Graphviz
compilation. They are currently available in the CI Gitlab macOS 11 shared
runner environment incidentally due to a transitive dependency via php.¹ The
same is not true in the macOS 12 environment.²

This commit moves to explicitly installing these Graphviz dependencies rather
relying on getting them implicitly. This makes the CI task for the macOS
Autotools build pass on macOS 12.

Gitlab: #2164

¹ https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/macstadium/orka/-/blob/df5b9cad3a482ec8b79b401c8d03bbc60f2f97c4/toolchain/big-sur.yml#L105-111
² https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/macstadium/orka/-/blob/df5b9cad3a482ec8b79b401c8d03bbc60f2f97c4/toolchain/monterey.yml#L48-49

.gitlab-ci.yml

index 2e85825b7f155d77184c18ba1b343221f38b933a..292e8abd6dd1cd9ef921582feb5eee0b3f742584 100644 (file)
@@ -84,6 +84,7 @@ portable-source:
     script:
         - brew update
         - brew install autogen || brew upgrade autogen
+        - brew install automake || brew upgrade automake
         - brew install cmake || brew upgrade cmake
         - brew install bison || brew upgrade bison
         - brew install pango || brew upgrade pango