Add Win32 build type
This commit is contained in:
parent
d603a7bcee
commit
1317248904
12
appveyor.yml
12
appveyor.yml
@ -4,6 +4,10 @@ configuration:
|
|||||||
- debug
|
- debug
|
||||||
- release
|
- release
|
||||||
|
|
||||||
|
platform:
|
||||||
|
- x86
|
||||||
|
- x64
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
global:
|
global:
|
||||||
STRESS: 1
|
STRESS: 1
|
||||||
@ -17,15 +21,17 @@ environment:
|
|||||||
before_build:
|
before_build:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- pip install hererocks
|
- 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
|
- call env\bin\activate
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd 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%
|
- 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:
|
test_script:
|
||||||
- lua ../tests/lua/run_tests
|
- lua ../tests/lua/run_tests
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user