From 44ffadb439b1c0160412bbcd17879624697b76f4 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Mon, 12 Apr 2021 22:30:43 +0200 Subject: [PATCH] Fixes for Windows build. --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 97ca04a..0d5868e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ---