-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathappveyor.yml
39 lines (30 loc) · 1.1 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
version: 0.5.0.{build}
# Operating system (build VM template)
os: Windows Server 2012 R2
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# clone directory
clone_folder: c:\projects\dewrecode
platform: Win32
configuration: Release
install:
- cmd: mkdir C:\Halo\
- cmd: mkdir C:\Halo\mods\
- cmd: mkdir C:\Halo\mods\plugins\
# by default, all script lines are interpreted as batch
build:
project: c:\projects\dewrecode\DewRecode.sln # path to Visual Studio solution or project
# scripts to run before build
before_build:
# scripts to run after build
after_build:
- xcopy C:\projects\dewrecode\ThirdParty\teamspeak\bin C:\Halo\ /S /Y
- xcopy C:\projects\dewrecode\ThirdParty\libwebsockets\bin C:\Halo\ /S /Y
- xcopy C:\projects\dewrecode\dewrecode\dist C:\Halo\ /S /Y
- cd C:\Halo\
- 7z a c:\projects\dewrecode\dewrecode-%APPVEYOR_BUILD_VERSION%.7z * -t7z m0=lzma -mx=9 -mfb=64 -md=32m -ms=on
- cd c:\projects\dewrecode
artifacts:
- path: dewrecode-$(appveyor_build_version).7z
name: dewrecode-$(appveyor_build_version).7z