-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
126 lines (126 loc) · 3.89 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# The release configuration.
# This is executed for releases only and will upload the artifact to Github.
-
configuration: release
version: "{build}"
branches:
only:
- release
- /\d\.\d\.\d/
except:
- master
os: Visual Studio 2013
platform:
- x64
- x86
build: off
clone_folder: C:\repositories\native-image-diff
# This is adapted from the appveyor.yml in node-sass.
# http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
# http://help.appveyor.com/discussions/kb/32-how-to-build-on-logical-drive-created-by-subst
init:
- cmd: >-
subst S: C:\repositories
- ps: set-location -path S:\native-image-diff
environment:
NATIVE_IMAGE_DIFF_SKIP_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 10
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 11
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 12
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 13
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 14
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 15
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
install:
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- npm install -g yarn
- yarn --version
- yarn install
build_script:
- yarn build
test_script:
- ps: set-location -path C:\repositories\native-image-diff
- yarn test
artifacts:
- path: native-image-diff-*-*-*.node
name: native-image-diff
deploy:
- provider: GitHub
artifact: native-image-diff
auth_token:
secure: bfQKa+eRJfn0xsBUu2bo+OeY7eEdfOlrkJBImk2GY22aLeS512AA3VoC1f4JA2I8
draft: false
prerelease: false
on:
appveyor_repo_tag: true
# The testing configuration.
# This will be executed for master and all pull requests and wont upload any artifacts.
-
configuration: testing
version: "{build}"
branches:
except:
- release
- /\d\.\d\.\d/
skip_tags: true
os: Visual Studio 2013
platform:
- x86
build: off
clone_folder: C:\repositories\native-image-diff
# This is adapted from the appveyor.yml in node-sass.
# http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
# http://help.appveyor.com/discussions/kb/32-how-to-build-on-logical-drive-created-by-subst
init:
- cmd: >-
subst S: c:\repositories
- ps: set-location -path S:\native-image-diff
environment:
NATIVE_IMAGE_DIFF_SKIP_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 10
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 11
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 12
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 13
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 14
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: 15
GYP_MSVS_VERSION: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
install:
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- npm install -g yarn
- yarn --version
- yarn install
build_script:
- yarn build
test_script:
- ps: set-location -path C:\repositories\native-image-diff
- yarn test