-
Notifications
You must be signed in to change notification settings - Fork 443
/
appveyor.yml
50 lines (39 loc) · 1.02 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
# appveyor file
# build version format
version: "{build}"
platform:
- x64
- x86
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]
environment:
UTO:
secure: <secure_token_generated_from_appveyor>
matrix:
fast_finish: true
install:
- ps: Install-Product node 14 $env:PLATFORM
- cmd: SET PATH=c:\python27;%PATH%
- cmd: SET JOBS=4
- cmd: SET BUILD_ONLY=true
- cmd: npm ci --build-from-source
- cmd: if %PLATFORM% EQU x86 (SET TP=ia32) else (set TP=x64)
- cmd: npx prebuild --strip -r electron --all --arch %TP% -u %UTO%
- cmd: npx prebuild --strip -r node-webkit --all --arch %TP% -u %UTO%
- cmd: npx prebuild --strip --all --arch %TP% -u %UTO%
test_script:
- node --version
- npm --version
build: off
branches:
only:
- master
cache:
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.node-gyp'