-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
48 lines (38 loc) · 1.41 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 2019
shallow_clone: true
platform:
- x64
configuration:
- Debug
- Release
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-filesystem:x64-windows
- cmd : vcpkg install boost-variant:x64-windows
- cmd : vcpkg install boost-lockfree:x64-windows
- cmd : vcpkg install cryptopp:x64-windows
- cmd : vcpkg install fmt:x64-windows
- cmd : vcpkg install luajit:x64-windows
- cmd : vcpkg install --recurse libmariadb:x64-windows
- cmd : vcpkg install pugixml:x64-windows
build:
parallel: true
# MSBuild verbosity level
#verbosity: detailed
cache:
- c:\tools\vcpkg\installed\
after_build:
- 7z a -tzip tfs-win-%PLATFORM%-%CONFIGURATION%.zip -r %APPVEYOR_BUILD_FOLDER%\vc14\%PLATFORM%\%CONFIGURATION%\*.dll %APPVEYOR_BUILD_FOLDER%\vc14\%PLATFORM%\%CONFIGURATION%\theforgottenserver*.exe %APPVEYOR_BUILD_FOLDER%\data %APPVEYOR_BUILD_FOLDER%\config.lua.dist %APPVEYOR_BUILD_FOLDER%\key.pem %APPVEYOR_BUILD_FOLDER%\LICENSE %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\schema.sql
artifacts:
- path: vc14\%PLATFORM%\%CONFIGURATION%\theforgottenserver*.exe
- path: vc14\%PLATFORM%\%CONFIGURATION%\*.dll
- path: tfs-win-%PLATFORM%-%CONFIGURATION%.zip