-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy path.appveyor.yml
96 lines (94 loc) · 3.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
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
94
95
96
version: 0.56.4.{build}
configuration: Nightly
pull_requests:
do_not_increment_build_number: true
before_build:
- ps: if (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER)) {Update-AppveyorBuild -Version ("0.56.4.{0}" -f ((git rev-list --count HEAD) - 2406))}
image:
- Visual Studio 2015
- Ubuntu
platform:
- x86
- x64
for:
-
matrix:
only:
- image: Visual Studio 2015
platform: x86
build:
project: SphereSvr.vcxproj
verbosity: minimal
after_build:
- cmd: mkdir accounts logs save scripts
- cmd: 7z a SphereSvr-Win32.zip accounts\ logs\ save\ scripts\ %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\SphereSvr.exe %APPVEYOR_BUILD_FOLDER%\src\sphere.ini %APPVEYOR_BUILD_FOLDER%\src\sphereCrypt.ini %APPVEYOR_BUILD_FOLDER%\src\common\mysql\lib\%PLATFORM%\libmysql.dll
artifacts:
- path: SphereSvr-Win32.zip
name: SphereSvr
-
matrix:
only:
- image: Visual Studio 2015
platform: x64
build:
project: SphereSvr.vcxproj
verbosity: minimal
after_build:
- cmd: mkdir accounts logs save scripts
- cmd: 7z a SphereSvr-Win64.zip accounts\ logs\ save\ scripts\ %APPVEYOR_BUILD_FOLDER%\%PLATFORM%\%CONFIGURATION%\SphereSvr.exe %APPVEYOR_BUILD_FOLDER%\src\sphere.ini %APPVEYOR_BUILD_FOLDER%\src\sphereCrypt.ini %APPVEYOR_BUILD_FOLDER%\src\common\mysql\lib\%PLATFORM%\libmysql.dll
artifacts:
- path: SphereSvr-Win64.zip
name: SphereSvr
-
matrix:
only:
- image: Ubuntu
platform: x86
install:
- sh: sudo apt-get -qq update
- sh: sudo apt-get -qq remove gcc g++ > /dev/null
- sh: sudo apt-get -qq install gcc-multilib g++-multilib libmysqlclient-dev:i386 > /dev/null
before_build:
- sh: lsb_release -d
- sh: gcc --version
build_script:
- sh: make NIGHTLY=1 x86=1
after_build:
- sh: mkdir accounts logs save scripts
- sh: tar -czvf SphereSvr-Linux32.tar.gz accounts/ logs/ save/ scripts/ spheresvr -C src/ sphere.ini sphereCrypt.ini
artifacts:
- path: SphereSvr-Linux32.tar.gz
name: SphereSvr
before_deploy:
- sh: echo "set ssl:verify-certificate no" >> ~/.lftprc
-
matrix:
only:
- image: Ubuntu
platform: x64
install:
- sh: sudo apt-get -qq update
- sh: sudo apt-get -qq remove gcc g++ > /dev/null
- sh: sudo apt-get -qq install gcc g++ libmysqlclient-dev > /dev/null
before_build:
- sh: lsb_release -d
- sh: gcc --version
build_script:
- sh: make NIGHTLY=1
after_build:
- sh: mkdir accounts logs save scripts
- sh: tar -czvf SphereSvr-Linux64.tar.gz accounts/ logs/ save/ scripts/ spheresvr -C src/ sphere.ini sphereCrypt.ini
artifacts:
- path: SphereSvr-Linux64.tar.gz
name: SphereSvr
before_deploy:
- sh: echo "set ssl:verify-certificate no" >> ~/.lftprc
deploy:
provider: FTP
protocol: ftp
host:
secure: LjYrCGlwCyEGfBJ2fVvCF9pAlSlsob0eZaUnKrFWJTs=
username:
secure: UAZaqnbj2s8C/ObEXIg6xA==
password:
secure: 0tC8NEgCp8IBChlZ0ssFdzgwkD+iX3FykjKaRQe+03k=