Fix building unit tests targetting windows

Fixes MSVC's LNK4217 warnings and MinGW errors.
This commit is contained in:
Hyunjin Song
2018-11-13 19:33:28 +09:00
parent d9b91338ea
commit 244b70b4c8
4 changed files with 16 additions and 6 deletions

View File

@@ -54,6 +54,9 @@ jobs:
../cmake/build_win32.sh
make lmms
make
- run:
name: Build tests
command: cd build && make tests
- *ccache_stats
- *save_cache
mingw64:
@@ -71,6 +74,9 @@ jobs:
mkdir build && cd build
../cmake/build_win64.sh
make
- run:
name: Build tests
command: cd build && make tests
- *ccache_stats
- *save_cache
linux.gcc: