Fixes for Windows build.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-04-12 22:30:43 +02:00
parent afe3cf0086
commit 44ffadb439
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ steps:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DWINDOWS=ON -DSTATICC=ON -DTESTS=ON -DSHARED=ON
- cmake --build build-release-windows --target all -- -j 4
- cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /drone/src/build-release-windows/
- find . -name '*.so*' -exec cp {} . \;
- find . -name '*.dll*' -exec cp {} . \;
- export WINEARCH=win64
- wine build-release-windows/pkmnLibTests.exe -s --duration=true --force-colors=true
---