Add Win32 build type

This commit is contained in:
mihacooper 2020-08-15 16:23:05 +03:00
parent d603a7bcee
commit 1317248904

View File

@ -4,6 +4,10 @@ configuration:
- debug
- release
platform:
- x86
- x64
environment:
global:
STRESS: 1
@ -17,15 +21,17 @@ environment:
before_build:
- git submodule update --init --recursive
- pip install hererocks
- hererocks env --%LUA% -rlatest
- if "%PLATFORM%"=="x86" (set WinType="32") else (set WinType="64")
- hererocks env --%LUA% -rlatest --target vs_%WinType%
- call env\bin\activate
build_script:
- mkdir build
- cd build
- cmake .. -G "Visual Studio 14 2015 Win64"
- if "%PLATFORM%"=="x86" (set WinType="Win32") else (set WinType="x64")
- cmake .. -G "Visual Studio 14 2015" -A %WinType%
- cmake --build . --config %CONFIGURATION%
- 7z a effil-%APPVEYOR_REPO_TAG_NAME%-%LUA_NAME%-win64.zip effil.dll
- 7z a effil-%APPVEYOR_REPO_TAG_NAME%-%LUA_NAME%-Win-%PLATFORM%.zip effil.dll
test_script:
- lua ../tests/lua/run_tests