-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
93 lines (41 loc) · 1.33 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: 1.9.7.{build}
image: Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_tags: true
configuration:
- Debug
- Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
cache: packages -> **\packages.config
before_build:
- cmd: >-
git submodule update --init --recursive
nuget restore
build:
verbosity: minimal
after_build:
- cmd: >-
7z a -tzip DOLServer_net45_%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\*
xcopy %APPVEYOR_BUILD_FOLDER%\sharedModules\SQLite\managedOnly\System.Data.SQLite.dll %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\lib /y /s /q /i
del %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\lib\x64 /F /S /Q
del %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\lib\x86 /F /S /Q
7z a -tzip DOLServer_linux_net45_%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\*
7z a -tzip DOLServer_UnitTests_net45_%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\build\UnitTests\%CONFIGURATION%\*
artifacts:
- path: '*.zip'
name: Release
deploy:
- provider: GitHub
auth_token:
secure: 0D/RfRV/f6GheHsPAdrIJRQT4C3EGC064X1xbq4DSzQWK5s9J/7Et4HV/51ozVe3
artifact: Release