forked from ethereum/mist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
60 lines (43 loc) · 1.29 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
image: Visual Studio 2017
platform: x64
environment:
nodejs_version: "8"
# increasing `meteor build` memory allocation
# https://github.com/meteor/meteor/issues/9568
TOOL_NODE_FLAGS: "--max-old-space-size=4096"
APPVEYOR_RDP_PASSWORD:
secure: ErXQkfrN/bX6LtqcjtnLGw==
matrix:
- product: mist
- product: wallet
artifacts:
- path: dist_mist\release\*
name: Mist
- path: dist_wallet\release\*
name: Wallet
cache:
- node_modules
- '%LOCALAPPDATA%\electron\Cache'
- '%LOCALAPPDATA%\electron-builder\cache'
init:
# enabling RDP for debugging purposes
- ps: $blockRdp = true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# needed for meteor-dapp-wallet
- git submodule update --init --recursive
# installs global dependencies
- choco install meteor
- choco install nsis
- refreshenv
- ps: refreshenv
- node --version
# installs JS dependencies
- yarn install
- cd interface && yarn install
build_script:
- ps: yarn build:$env:product --win --skipTasks=build-interface
- ps: yarn dist:$env:product
test_script:
- cmd: yarn test:unit:once