-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathappveyor.yml
72 lines (58 loc) · 2.25 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#---------------------------------#
# general configuration #
#---------------------------------#
#version: 1.0.{build}-{branch}
# Do not build on tags (GitHub only)
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
environment:
matrix:
- os: Visual Studio 2019
VS: 16
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# scripts that run after cloning repository
install:
# show environment
- cd c:\projects
- if "%VS%" == "14" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- if "%VS%" == "16" call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
# Print environment info
- set
- cl
#---------------------------------#
# build configuration #
#---------------------------------#
before_build:
- cd c:\projects
build_script:
- cd c:\projects\mago
- devenv /Build "Release|Win32" /Project "MagoNatDE" magodbg_2010.sln
- devenv /Build "Release|x64" /Project "MagoRemote" magodbg_2010.sln
- devenv /Build "Release StaticDE|Win32" /Project "MagoNatCC" magodbg_2010.sln
- devenv /Build "Release StaticDE|x64" /Project "MagoNatCC" magodbg_2010.sln
- devenv /Build "Release StaticDE|Win32" /Project "mago-mi" magodbg_2010.sln
artifacts:
- path: bin\Win32\Release\MagoNatDE.dll
- path: bin\Win32\Release\MagoNatCC.dll
- path: bin\Win32\Release\MagoNatCC.pdb
- path: bin\Win32\Release\MagoNatCC.vsdconfig
- path: bin\Win32\Release\mago-mi.exe
- path: bin\Win32\Release\mago-mi.pdb
- path: bin\x64\Release\MagoRemote.exe
- path: bin\x64\Release\MagoNatCC.dll
- path: bin\x64\Release\MagoNatCC.pdb
- path: bin\x64\Release\MagoNatCC.vsdconfig
on_failure:
- cd c:\projects
#---------------------------------#
# test configuration #
#---------------------------------#
test_script:
- cd c:\projects