forked from gorlak/P4Win
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
48 lines (41 loc) · 1.3 KB
/
.appveyor.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
image:
- Visual Studio 2017
platform:
- x86
- x64
configuration:
- Debug
- Release
install:
- git submodule update --init
- if "%PLATFORM%" equ "x86" set BITS=32
- if "%PLATFORM%" equ "x64" set BITS=64
- if "%PLATFORM%" equ "x86" set ARCH=x86
- if "%PLATFORM%" equ "x64" set ARCH=x86_64
- if "%PLATFORM%" equ "x86" set PLAT=Win32
- if "%PLATFORM%" equ "x64" set PLAT=x64
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"
build_script:
- cmd: cd Dependencies
- cmd: openssl-build
- cmd: cd ..
- cmd: premake --architecture=%ARCH% vs2017
- cmd: msbuild Build\P4Win.sln /p:Configuration=%CONFIGURATION% /p:Platform=%PLAT% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal
- cmd: if "%CONFIGURATION%" equ "Release" if "%PLATFORM%" equ "x64" installer
artifacts:
- path: Bin\$(configuration)
name: binaries
- path: Bin\$(configuration)\P4WinSetup.exe
name: installer
version: '2008.1.1.{build}'
deploy:
description: 'P4Win v$(appveyor_build_version)'
provider: GitHub
auth_token:
secure: wXIf6Ia9KbgkOdlA1aV7mkrA4OPZDOdxGd1cIV4+JjSXsLyDFqx/ElzCdDAjhYjA
artifact: installer
draft: true
on:
platform: x64
configuration: Release
APPVEYOR_REPO_TAG: true