[ci] Add Fedora cross compilation build job with MinGW

(cherry picked from commit b0e93c24d89d35cce0b38d09383cd5807370bfce)
This commit is contained in:
Dan Čermák 2019-02-09 11:24:37 +01:00 committed by Luis Díaz Más
parent eb107da08f
commit 43c5f29e97

View File

@ -36,6 +36,14 @@ Fedora:
<<: *default_config
<<: *distro_build
Fedora_MinGW:
image: fedora:29
before_script:
- dnf -y upgrade
- dnf -y install mingw64-gcc-c++ mingw64-filesystem mingw64-expat mingw64-zlib cmake make
script:
- python3 ci/test_build.py --without-tests --cmake-executable "mingw64-cmake" --cmake-options "-DEXIV2_TEAM_EXTRA_WARNINGS=ON -DEXIV2_ENABLE_VIDEO=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_WIN_UNICODE=ON " --compilers --shared-libs OFF
Debian:
image: debian:9
<<: *default_config