forked from tojocky/node-printer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
66 lines (54 loc) · 1.62 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
60
61
62
63
64
65
66
# appveyor file
# build version format
version: "{build}"
platform: x64
image: Visual Studio 2017
# Set a known clone folder
clone_folder: c:\p
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
- git config --global user.name "Ion Lupascu"
- git config --global user.email [email protected]
# what combinations to test
environment:
matrix:
# Node.js
- nodejs_version: "0.12.18"
- nodejs_version: "4.9.1"
- nodejs_version: "5.9.1"
- nodejs_version: "6.17.1"
- nodejs_version: "8.16.1"
- nodejs_version: "10.16.0"
- nodejs_version: "11.15.0"
- nodejs_version: "12.10.0"
- nodejs_version: "13.3.0"
build_electron: "true"
matrix:
fast_finish: true
allow_failures:
- nodejs_version: "0.12.18"
# Get the latest stable version of Node 0.STABLE.latest
install:
- ps: Install-Product node 12.6 x64
- cmd: SET PATH=c:\python27;%PATH%
- cmd: SET JOBS=4
- cmd: SET BUILD_ONLY=true
- cmd: npm install
- cmd: npm install -g node-pre-gyp-github
- cmd: echo 'Building for node version '
- cmd: echo %nodejs_version%
- cmd: node_modules\.bin\node-pre-gyp.cmd configure --target=%nodejs_version%
- cmd: node_modules\.bin\node-pre-gyp.cmd build package --target=%nodejs_version% --target_arch=x64
- cmd: node_modules\.bin\node-pre-gyp.cmd configure --target=%nodejs_version%
- cmd: node_modules\.bin\node-pre-gyp.cmd build package --target=%nodejs_version% --target_arch=ia32
- ps: ./tools/buildWindows.ps1
test_script:
- node --version
- npm --version
build: off
artifacts:
- path: 'build\stage\**\*.tar.gz'
branches:
only:
- master