This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
forked from jprjr/turtlecoin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.appveyor.yml
executable file
·59 lines (50 loc) · 1.81 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
os: Visual Studio 2017
cache: c:\users\appveyor\clcache
environment:
BOOST_ROOT: C:\Libraries\boost_1_67_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14
init:
- set PATH=c:\Python37;c:\Python37\Scripts;%PATH%
- pip install clcache
before_build:
- clcache -s
build_script:
- md build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" .. -DARCH=default -DOPENSSL_ROOT_DIR=C:\OpenSSL-v111-Win64
- MSBuild Plenteum.sln /p:CLToolExe=clcache.exe /p:CLToolPath=c:\Python37\Scripts\ /p:Configuration=Release /m
- src\Release\cryptotest.exe
after_build:
- clcache -s
- if not defined APPVEYOR_REPO_TAG_NAME (set APPVEYOR_REPO_TAG_NAME=%APPVEYOR_REPO_COMMIT%)
- cd src\Release
- mkdir plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%
- copy *.exe plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%
- copy ..\..\..\LICENSE plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%
- 7z a plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%-windows.zip plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%
- copy plenteum-testnet-%APPVEYOR_REPO_TAG_NAME%-windows.zip ..\..\..\
artifacts:
- path: plenteum-testnet-$(APPVEYOR_REPO_TAG_NAME)-windows.zip
name: PlenteumTestnetRelease
deploy:
- provider: GitHub
auth_token:
secure: vkBszDizR3ZGsxh6sLHByzIXeBq4G9QGTVcfW88m0B2Vfj/GrSLhPgQNt7vXGC7/
artifact: PlenteumTestnetRelease
draft: true
prerelease: false
on:
appveyor_repo_name: plenteum/testnet
appveyor_repo_tag: true
- provider: S3
access_key_id:
secure: ZApE3I60k12/Ro/I91l0gmAU1DnarzA2fj7m1Dz9xLc=
secret_access_key:
secure: LqF0lQYhorEYeYFYJ4eGOrs7iph+BAAuc1iqlxNmbSi/x6pgk2VklG1v1LhHtf8W
bucket: plenteum-artifacts
region: us-east-2
set_public: true
folder: plenteum-testnet
artifact: PlenteumTestnetRelease
on:
appveyor_repo_name: plenteum/testnet