CI: Don't use dynamic QtApng on Windows

This commit is contained in:
oldmud0 2020-05-19 22:24:38 +00:00
parent c9b9822bdb
commit bc4fd2bccd

View File

@ -98,13 +98,15 @@ build windows i686:
- cd .. - cd ..
# Extract QtApng # Extract QtApng
- mkdir qtapng # - mkdir qtapng
- cd qtapng # - cd qtapng
- curl -L https://github.com/Skycoder42/QtApng/releases/download/1.1.2-2/qtapng_mingw73_32_5.13.0.zip -o apng.zip # - curl -L https://github.com/Skycoder42/QtApng/releases/download/1.1.2-2/qtapng_mingw73_32_5.13.0.zip -o apng.zip
- unzip apng.zip # - unzip apng.zip
- mkdir ../lib/imageformats # - mkdir ../lib/imageformats
- cp mingw73_32/plugins/imageformats/qapng.dll ../lib/imageformats/ # - cp mingw73_32/plugins/imageformats/qapng.dll ../lib/imageformats/
- cd .. # - cd ..
- ls lib
# Build # Build
- /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake "DEFINES += DISCORD BASSAUDIO" - /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake "DEFINES += DISCORD BASSAUDIO"
@ -178,7 +180,7 @@ deploy windows i686:
# Platform-specific # Platform-specific
- cp -a ../lib/*.dll . - cp -a ../lib/*.dll .
- mkdir imageformats - mkdir imageformats
- cp -a ../lib/imageformats/*.dll imageformats/ - cp -a ../lib/imageformats/*.dll imageformats/ || :
- cp -a ../bin/Attorney_Online.exe . - cp -a ../bin/Attorney_Online.exe .
# Zipping # Zipping