forked from jduncanator/node-diskusage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
98 lines (87 loc) · 1.97 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
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
image:
- Ubuntu2004
- Visual Studio 2019
- macos
init:
- git config --global core.autocrlf input
build: off
cache:
- node_modules
- '%AppData%\npm-cache'
# what combinations to test
environment:
matrix:
- nodejs_version: 18
branches:
only:
- /master|^v\d+\.\d+\.\d+?(-\S*)?$/
platform:
- x86
- x64
- arm64
for:
########## UBUNTU SPECIFIC CONFIGURATION ##########
- matrix:
only:
- image: Ubuntu2004
- fast_finish: true
environment:
CCACHE_TEMPDIR: /tmp/.ccache-temp
CCACHE_COMPRESS: 1
CC: "clang"
CXX: "clang++"
install:
- sh: nvm install $nodejs_version
- npm install
build: off
test_script:
- node --version
- npm --version
deploy_script:
- ci/prebuild-publish.sh %nodejs_version%
########## OSX SPECIFIC CONFIGURATION ##########
- matrix:
only:
- image: macos
- fast_finish: true
exclude:
- platform: x86
environment:
CCACHE_TEMPDIR: /tmp/.ccache-temp
CCACHE_COMPRESS: 1
CC: "clang"
CXX: "clang++"
install:
- sh: nvm install $nodejs_version
- npm install
build: off
test_script:
- node --version
- npm --version
deploy_script:
- ci/prebuild-publish.sh %nodejs_version%
########## Windows SPECIFIC CONFIGURATION ##########
- matrix:
only:
- image: Visual Studio 2019
- fast_finish: true
- platform: x64
environment:
PYTHON: C:\Python310-x64
PYTHON_VERSION: 3.10
init:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
install:
- python --version
- npm i npm@8 -g
- python -m pip install gyp-next
- ps: Install-Product node $env:nodejs_version
- npm install
build: off
test_script:
- node --version
- npm --version
deploy_script:
- ci\prebuild-publish.bat %nodejs_version%