forked from gnosis/MultiSigWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (41 loc) · 1.19 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
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
deploy:
provider: S3
access_key_id: $(AWS_ACCESS_KEY_ID)
secret_access_key: $(AWS_SECRET_ACCESS_KEY)
bucket: $(BUCKET_NAME)
region: $(AWS_REGION)
artifact: "exe"