forked from CelestiaProject/Celestia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
53 lines (48 loc) · 1.46 KB
/
appveyor.yml
File metadata and controls
53 lines (48 loc) · 1.46 KB
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
version: 1.7.0-dev-{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- VS2017-x86-x64
max_jobs: 1
image: Visual Studio 2017
configuration: Release
platform:
- x86
- x64
clone_folder: c:\projects\celestia-vs2017
only_commits:
files:
- scr/
- thirdparty/
- windows/
- appveyor.yml
- celestia.pro
- celestia.sln
- celestia.vcxproj
build:
project: celestia.vcxproj
verbosity: minimal
after_build:
- cmd: >-
cd c:\
IF NOT EXIST projects\celestia-vs2017\bin\x86 (2>nul md projects\celestia-vs2017\bin\x86)
IF NOT EXIST projects\celestia-vs2017\bin\x64 (2>nul md projects\celestia-vs2017\bin\x64)
IF EXIST %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\Win32\celestia.exe (2>nul move %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\Win32\celestia.exe c:\projects\celestia-vs2017\bin\x86\celestia-1.7.0-dev-%APPVEYOR_BUILD_NUMBER%.exe)
IF EXIST %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\x64\celestia.exe (2>nul move %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\x64\celestia.exe c:\projects\celestia-vs2017\bin\x64\celestia-1.7.0-dev-%APPVEYOR_BUILD_NUMBER%.exe)
test: off
artifacts:
- path: bin\$(platform)\*.exe
name: Executable
deploy:
- provider: FTP
host: 188.120.250.231
protocol: ftp
username: appveyor-vs2017
password:
secure: tuUaNJanMStH5x29zT0XwA==
artifact: Executable
after_deploy:
- cmd: >-
cd c:\
2>nul del c:\projects\celestia-vs2017\bin\%PLATFORM%\celestia-1.7.0-dev-%APPVEYOR_BUILD_NUMBER%.exe