forked from MOODOO-SH/WeFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
53 lines (43 loc) · 1.25 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
# version format
version: "{build}"
# branches to build
branches:
only:
- master
# Build worker image (VM template)
os: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
environment:
WeFlowBuild: true
qiniu_ACCESS_KEY:
secure: T10k13x11WzEOXvMqo8pXNK4fMb2+iSqj6ate+fhL7pwWxySeKhsoxjZ2GpAAsBU
qiniu_SECRET_KEY:
secure: XRWyQSCo7yWHH7LN5AUlFd3UYl/T6ZAc7WiK4NJJGAKocvmEm7ait8jm+y51CZ6c
matrix:
- nodejs_version: 5.10.0
matrix:
fast_finish: true
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- echo "%PLATFORM%"
- node -v
- npm -v
- npm install -g node-gyp
- npm install
- cd node_modules\node-lwip
- if "%PLATFORM%" == "x64" node-gyp rebuild --target=0.37.8 --arch=x64 --dist-url=https://atom.io/download/atom-shell
- if "%PLATFORM%" == "x86" node-gyp rebuild --target=0.37.8 --arch=ia32 --dist-url=https://atom.io/download/atom-shell
- cd ..\..\
- node build\downBinding
- if "%PLATFORM%" == "x64" npm run build:win64
- if "%PLATFORM%" == "x86" npm run build:win32
- ps: Compress-Archive -Path dist -DestinationPath dist.zip
- node build\upload
build: OFF
test: OFF
deploy: OFF