forked from KomodoPlatform/komodo-defi-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
50 lines (43 loc) · 1.09 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
version: 1.0.{build}
image: Visual Studio 2017
branches:
only:
- master
init:
- ps: |
$env:SHORT_HASH = "$($env:APPVEYOR_REPO_COMMIT.Substring(0, 7))"
build_script:
- cmd: marketmaker2_build_win.cmd
test_script:
- cargo test --features native
cache:
- marketmaker_depends
after_build:
- '7z a mm-win-%SHORT_HASH%.zip
.\target\debug\mm2.exe
.\target\debug\*.dll
"%WINDIR%\system32\msvcr100.dll"
"%WINDIR%\system32\msvcp140.dll"
"%WINDIR%\system32\vcruntime140.dll"'
artifacts:
- path: mm-win-$(short_hash).zip
name: marketmaker-mainnet
deploy:
- provider: GitHub
release: v$(appveyor_build_version)
auth_token:
secure: iabzoz73JgtOIyE/Nmz4a4XefmK+7pIeup+1Hunj4hGKrdfesFN+176DMApgfu8t
artifact: marketmaker-mainnet
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: false
- provider: FTP
protocol: sftp
host: 195.201.0.6
username: sftpuser1
password:
secure: aGEe58KjuBhEt0AYrHozbHeFziZ+c2M1RA1VdIW7THc=
folder: uploads/$(appveyor_repo_branch)
artifact: marketmaker-mainnet