* .gitlab-ci.yml: Enable Windows executables for MinGW runner

This commit is contained in:
Tim Rühsen 2019-05-06 13:03:56 +02:00
parent 57ac97e6d8
commit 823a9c8e0d

View File

@ -297,6 +297,8 @@ MinGW64:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$MINGW_BUILD
script:
# - apt-get install libhttp-daemon-perl libio-socket-ssl-perl python3
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- ./bootstrap --skip-po
# - cp pthread_sigmask.c.mingw lib/pthread_sigmask.c
- export CC="ccache $PREFIX-gcc"
@ -308,6 +310,7 @@ MinGW64:
- make clean
- LIBS="-ldl -lpsapi" ./configure $CONFIGURE_BASE_FLAGS --build=x86_64-pc-linux-gnu --host=$PREFIX --enable-shared --disable-threads
- make -j$(nproc)
- cp -p src/wget.exe src/wget
- make check -j$(nproc) LOG_COMPILER=wine
tags:
- shared