[cairo-commit] 2 commits - .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 9 21:31:18 UTC 2022


 .gitlab-ci.yml |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

New commits:
commit e32b2c34f1ac719f3ca53137da7f732b3cd7978f
Merge: 4823aa606 e485bb1e2
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Mon May 9 21:31:16 2022 +0000

    Merge branch 'mingw-ci' into 'master'
    
    Add mingw-32 and mingw-64 CI builds
    
    See merge request cairo/cairo!321

commit e485bb1e26e91d059270bc49b00e47dd26929b72
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat May 7 19:16:35 2022 +0930

    Add mingw-32 and mingw-64 CI builds

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46cc5f0cf..2b033ed02 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -219,6 +219,42 @@ fedora meson build:
     paths:
       - 'builddir/meson-logs/'
 
+meson mingw-32 build:
+  extends:
+    - '.fdo.distribution-image at fedora'
+  stage: 'build'
+  before_script:
+    - dnf install -y 'dnf-command(builddep)'
+    - dnf builddep -y mingw32-cairo
+  script:
+    - mkdir builddir
+    - cd builddir
+    - mingw32-meson --default-library=both
+    - ninja install
+  artifacts:
+    expire_in: "7 days"
+    when: "always"
+    paths:
+      - 'builddir/meson-logs/'
+
+meson mingw-64 build:
+  extends:
+    - '.fdo.distribution-image at fedora'
+  stage: 'build'
+  before_script:
+    - dnf install -y 'dnf-command(builddep)'
+    - dnf builddep -y mingw64-cairo
+  script:
+    - mkdir builddir
+    - cd builddir
+    - mingw64-meson --default-library=both
+    - ninja install
+  artifacts:
+    expire_in: "7 days"
+    when: "always"
+    paths:
+      - 'builddir/meson-logs/'
+
 # Based on https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/.gitlab-ci.yml (.build windows)
 .build meson windows:
   image: $WINDOWS_IMAGE


More information about the cairo-commit mailing list