forked from gnosis/MultiSigWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (46 loc) · 1.37 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
platform:
- x64
# branches to build
branches:
# whitelist
only:
- master
- develop
skip_tags: true
# Maximum number of concurrent jobs for the project
max_jobs: 1
# set clone depth
clone_depth: 5 # clone entire repository history if not defined
# to run your custom scripts instead of automatic tests
# test_script:
# - npm run test-dapp
# - npm run test
# scripts that run after cloning repository
install:
- ps: Install-Product node 8 x64
- ps: $env:DEBUG = "electron-builder"
- npm i -g --production windows-build-tools
- cd dapp && rm -rf node_modules && rm package-lock.json && yarn config set msvs_version 2015 --global && yarn add secp256k1 && yarn add sha3 && yarn install && cd ..
# to run your custom scripts instead of automatic MSBuild
build_script:
- cd dapp/ && mkdir dist && yarn build-libs-electron && yarn build-win
# scripts to run before deployment
after_build:
- chmod +x prepare_deploy_win.sh
- prepare_deploy_win.sh
- cp dapp/dist/*.exe .
artifacts:
path: '*.exe'
name: exe
environment:
access_key_id:
secure: RpimOJdJROGTnBToRjUoRBn7Tlnwc1eNHaAHpFcy1yk=
secret_access_key:
secure: LSAZENPbfm21aJt8qzYmuVmmlXnLGIwOKheK+hIlMd9jr2JsJyBjUhEbre6F6ZNq
deploy:
provider: S3
access_key_id: "%access_key_id%"
secret_access_key: "%secret_access_key%"
bucket: wallet-desktop-builds
region: us-east-1
artifact: "exe"