[poppler] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 6 13:06:24 UTC 2018


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

New commits:
commit 89b4f3b9be15e30dfe6a8de431b5de1e8c4f28f3
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Oct 6 14:54:39 2018 +0200

    mingw64 fedora build
    
    We find every so often that the windows build breaks since there's a few
    ifdef for windows, so CI it
    
    Has some mv because the openjpeg2 packages are a bit broken
    and removes a SYSTEM because i think something in their packages is also
    broken since i don't need to remove that when i build on my arch linux
    with mingw64

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92ec152e..14b87074 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,3 +57,19 @@ build_gcc_49:
     - mkdir -p build && cd build
     - cmake -G Ninja ..
     - ninja
+
+build_mingw64_fedora:
+  stage: build
+  image: fedora
+  before_script:
+    - yum -y install yum-utils
+    - yum-builddep -y mingw64-poppler
+    - yum -y install mingw64-curl make ninja-build mingw64-openjpeg2-tools mingw32-openjpeg2-tools
+    - mv /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj2_decompress.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj_decompress.exe
+    - mv /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj2_compress.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj_compress.exe
+    - mv /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj2_dump.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/opj_dump.exe
+  script:
+    - sed -i '/SYSTEM/d' glib/CMakeLists.txt
+    - mkdir -p build && cd build
+    - mingw64-cmake -G Ninja ..
+    - ninja


More information about the poppler mailing list