forked from otland/otclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
66 lines (52 loc) · 1.59 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
# https://www.appveyor.com/docs/environment-variables/
image: Visual Studio 2017
#shallow_clone: true
platform:
- x64
configuration:
- Debug
- Release
version: build-{branch}.{build}
matrix:
fast_finish: true
only_commits:
files:
- src/
- vc14/
- appveyor.yml
install:
- cmd: vcpkg install boost-iostreams:x64-windows
- cmd: vcpkg install boost-asio:x64-windows
- cmd: vcpkg install boost-system:x64-windows
- cmd: vcpkg install boost-variant:x64-windows
- cmd: vcpkg install boost-lockfree:x64-windows
- cmd: vcpkg install boost-filesystem:x64-windows
- cmd: vcpkg install boost-uuid:x64-windows
- cmd: vcpkg install glew:x64-windows
- cmd: vcpkg install libogg:x64-windows
- cmd: vcpkg install libvorbis:x64-windows
- cmd: vcpkg install luajit:x64-windows
- cmd: vcpkg install openal-soft:x64-windows
- cmd: vcpkg install physfs:x64-windows
- cmd: vcpkg install zlib:x64-windows
build:
parallel: true
# MSBuild verbosity level
#verbosity: detailed
before_build:
- cmd: FOR /F "tokens=*" %%g IN ('git describe --always') do (SET VERSION=%%g)
environment:
BUILD_COMMIT: "$(APPVEYOR_REPO_COMMIT)"
BUILD_REVISION: "$(APPVEYOR_BUILD_NUMBER)"
BUILD_TYPE: "$(CONFIGURATION)"
VERSION: "$(VERSION)"
cache:
- c:\tools\vcpkg\installed\ -> appveyor.yml
- vc14\x64
after_build:
- cmd: 7z a otclient.zip otclient.exe *.dll data mods modules *.lua README.md LICENSE
artifacts:
- path: otclient.exe
name: otclient-${CONFIGURATION}-${APPVEYOR_REPO_COMMIT}.exe
- path: otclient.zip
name: otclient-${CONFIGURATION}-${APPVEYOR_REPO_COMMIT}.zip