]> granicus.if.org Git - graphviz/commitdiff
CI: rearrange macOS step related to Bison
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 11 Mar 2022 05:24:46 +0000 (21:24 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Mar 2022 20:30:01 +0000 (13:30 -0700)
It makes it more obvious why this step is being done when it is adjacent to the
Bison install itself.

.gitlab-ci.yml

index d9eb95943f84a0c9604cb3aa8d364b33e5dd2aa8..06d6b8c6c20877cef4b1650b1c39f1f2b307e732 100644 (file)
@@ -83,6 +83,7 @@ portable-source:
         - brew install automake || brew upgrade automake
         - brew install cmake || brew upgrade cmake
         - brew install bison || brew upgrade bison
+        - export PATH="/usr/local/opt/bison/bin:$PATH"
         - brew install pango || brew upgrade pango
         - brew install qt5 || brew upgrade qt5
         - export PATH="/usr/local/opt/qt@5/bin:$PATH"
@@ -90,7 +91,6 @@ portable-source:
         - export CPPFLAGS="-I/usr/local/opt/qt@5/include"
         - export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig"
         - brew install libxaw || brew upgrade libxaw
-        - export PATH="/usr/local/opt/bison/bin:$PATH"
         - logfile=`mktemp`
         - ci/build.sh 2>&1 | tee $logfile
         - echo "$CI_JOB_NAME-warnings `grep -c 'warning:' $logfile`" | tee metrics.txt