Commit 89b4f3b9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

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
parent 0118e221
Pipeline #5373 passed with stage
in 9 minutes and 55 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment