]> granicus.if.org Git - graphviz/commitdiff
CI: add windows-mingw64-build-step2-make job
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 23 Nov 2021 05:42:30 +0000 (06:42 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Dec 2021 06:35:02 +0000 (07:35 +0100)
.gitlab-ci.yml

index 90c0cbd613464fcc1c7e4bf7efea6b3af0743094..b99d1b67fc19e0fa7ab627e56568acaa66c57c85 100644 (file)
@@ -538,6 +538,31 @@ windows-mingw64-build-step1-configure:
     except:
         - tags
 
+windows-mingw64-build-step2-make:
+    stage: build
+    needs:
+        - job: windows-mingw64-build-step1-configure
+          artifacts: true
+    script:
+        - choco config set cacheLocation choco-cache
+        - choco install --yes --no-progress msys2
+        - $Env:build_system = "autotools"
+        - $Env:use_autogen = "yes"
+        - C:\tools\msys64\usr\bin\env MSYSTEM=MINGW64 C:\tools\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-make.sh'
+    cache:
+        key: windows-mingw64-build-step2-make
+        paths:
+            - choco-cache
+    artifacts:
+        when: always
+        expire_in: 1 week
+        paths:
+            - GRAPHVIZ_VERSION
+    tags:
+        - windows
+    except:
+        - tags
+
 windows-cygwin-build:
     stage: build
     needs: