]> granicus.if.org Git - graphviz/commitdiff
Add macOS cmake build to CI
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 30 Sep 2020 15:16:30 +0000 (17:16 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sun, 4 Oct 2020 07:58:14 +0000 (09:58 +0200)
.gitlab-ci.yml

index e60dfa04f090ebf0345dcfae6c2c93ee5a6279fb..09feb950910871ee232d578115b2a818c1e90dbb 100644 (file)
@@ -290,6 +290,18 @@ ubuntu18-04-cmake-build:
         - linux
     image: "graphviz/graphviz:ubuntu-18.04"
 
+macos-cmake-build:
+    <<: *macos_build_definition
+    before_script:
+        - brew install cmake
+        - brew install bison
+        - export PATH="/usr/local/opt/bison/bin:$PATH"
+        - export build_system="cmake"
+        - python3 gen_version.py > VERSION
+        - echo experimental > COLLECTION
+    tags:
+        - macos
+
 windows-cmake-Win32-release-build:
     <<: *windows_build_definition
     before_script: