forked from node-ffi-napi/node-ffi-napi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (46 loc) · 1.22 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
# http://www.appveyor.com/docs/appveyor-yml
# Test against these versions of Node.js.
environment:
# Test against these versions of Node.js and io.js
matrix:
# node.js
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "14"
platform:
- x86
- x64
# Install scripts. (runs after repo cloning)
install:
- python -V
- set PYTHON=python
- ps: Install-Product node $env:nodejs_version $env:platform
- node -p process.arch
- node -p process.version
- npm install --build-from-source
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
after_test:
- ps: If ($env:nodejs_version -eq "12") { npm run prebuild --v8_enable_pointer_compression=false --v8_enable_31bit_smis_on_64bit_arch=false }
# Don't actually build.
build: off
# Set build version format here instead of in the admin panel.
version: "{build}"
artifacts:
- path: prebuilds
name: $(APPVEYOR_REPO_TAG_NAME)-win-$(PLATFORM)
type: zip
deploy:
- provider: GitHub
artifact: /.*\.zip/
draft: false
prerelease: true
auth_token: $(PREBUILD_GITHUB_TOKEN)
on:
appveyor_repo_tag: true
nodejs_version: "12"