-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
33 lines (28 loc) · 928 Bytes
/
appveyor.yml
File metadata and controls
33 lines (28 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
image:
- Visual Studio 2015
- Visual Studio 2017
platform:
- x64
configuration:
- Debug
- Release
before_build:
- cmd: git clean -ffxd
- cmd: git submodule sync
- cmd: git submodule update --init --recursive
build_script:
- ps: |
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015")
{
& "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
& "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
tools\premake\premake5.exe vs2015
}
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017")
{
& "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
tools\premake\premake5.exe vs2017
}
msbuild.exe lorcore.sln /p:Configuration=$env:CONFIGURATION /p:Platform=$env:PLATFORM
test_script:
- cmd: builds\bin_win64\lorcoretests.exe