-
-
Notifications
You must be signed in to change notification settings - Fork 103
/
appveyor.yml
77 lines (68 loc) · 1.83 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
branches:
except:
- circleci
image:
- Visual Studio 2022
- Ubuntu2204
- macos-monterey
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
matrix:
# node.js
- nodejs: "23"
- nodejs: "22"
- nodejs: "20"
- nodejs: "18"
install:
# - sh: if [ "$APPVEYOR_BUILD_WORKER_IMAGE" = 'Ubuntu2204' ]; then sudo apt-get -qq update && sudo apt-get -y -qq install build-essential libgconf-2-4 python3 libglib2.0-dev; fi
# - cmd: powershell .\appveyor.ps1
- cmd: powershell Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs) x64
- sh: nvm ls
- sh: nvm use $nodejs || nvm install $nodejs
- cmd: node -v && npm -v && dotnet --version
- sh: node -v && npm -v && dotnet --version
- npm install --no-audit
test_script:
- cmd: node tools/test.js CI
- cmd: SET EDGE_USE_CORECLR=1 & node tools/test.js CI
- sh: EDGE_USE_CORECLR=1 node tools/test.js CI
after_test:
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
$file = '.\test-results.xml'
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path '.\test-results.xml'))
Push-AppveyorArtifact (Resolve-Path '.\test-results.xml')
Push-AppveyorArtifact (Resolve-Path '.\mochawesome.json')
skip_commits:
files:
- samples/*
- stress/*
- performance/*
- '.github'
- '.github/*'
- '.github/**/*'
- '.github/**/**/*'
- '**/*.md'
- '**/*.d.ts'
- '**/*.bat'
- '.travis.yml'
- 'Dockerfile'
- 'README.md'
- 'LICENSE*'
- '.idea/**'
- '.vscode/**'
- '.gitignore'
- '*.bat'
- '*.nuspec'
- 'tools/nuget/*'
- '.npmignore'
- 'test/config.json'
- 'test/double'
- 'appveyor_double.yml'
- '.circleci'
- '.circleci/*'
- '*.sln'
- '*.vcxproj'
build: off
cache:
- node_modules -> package-lock.json