-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
72 lines (59 loc) · 1.42 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
version: 1.0.{build}
image:
- Visual Studio 2022
- Ubuntu2004
platform:
- x64
environment:
matrix:
- nodejs_version: "22"
- nodejs_version: "20"
- nodejs_version: "18"
- nodejs_version: "16"
#
# matrix:
# exclude:
# - image: Visual Studio 2022
# nodejs_version: 18
# - image: Visual Studio 2022
# nodejs_version: 20
test_script:
- ps: Write-Host "jspf-cserver test script"
for:
-
matrix:
only:
- image: Visual Studio 2022
clone_folder: c:\projects\jspf-cserver
install:
- cmd: powershell Install-Product node $env:nodejs_version
- cmd: node --version
- cmd: npm --version
build_script:
- cmd: cd c:\projects\jspf-cserver
- cmd: node --version
- ps: Get-Command npm
- cmd: npm install
- cmd: npm run init
- cmd: node_modules\.bin\tsc --version
- cmd: node_modules\.bin\tsc
test_script:
- cmd: npm run app
-
matrix:
only:
- image: Ubuntu2004
- platform: x64
clone_folder: /home/appveyor/projects/jspf-cserver
install:
- nvm install $nodejs_version
- npm install
build_script:
- sh: node --version
- sh: cd /home/appveyor/projects/jspf-cserver
- sh: ./node_modules/.bin/tsc --version
- sh: ./node_modules/.bin/tsc
- sh: npm run circular
- sh: npm run init
test_script:
- sh: npm run app