mirror of
https://github.com/mirror/wget.git
synced 2025-03-07 08:10:17 +08:00
* .gitlab-ci.yml: Enable Windows executables for MinGW runner
This commit is contained in:
parent
57ac97e6d8
commit
823a9c8e0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user