-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
159 lines (140 loc) · 5.01 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
version: '{branch}-{build}'
matrix:
allow_failures:
- job_type: macOS
# macOS has an ressource problem on Appveyor:
# overloaded and not always available
environment:
matrix:
# ======================================
# Linux
# ======================================
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-9-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-10-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-12-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-13-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-14-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-15-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-16-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
- job_type: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-18-openjdk-amd64
# ======================================
# Windows
# ======================================
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
JAVA_HOME: C:\Program Files\Java\jdk9
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
JAVA_HOME: C:\Program Files\Java\jdk10
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk11
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk12
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk13
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk14
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk15
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk16
- job_type: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk17
# ======================================
# macOS
# ======================================
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-9.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-10.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-12.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-bigsur
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-bigsur
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home
- job_type: macOS
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
for:
# ======================================
# Linux
# ======================================
- matrix:
only:
- job_type: Linux
install:
- sh: PATH="${JAVA_HOME}/bin:${PATH}"
- sh: java -version
- sh: ant -version
# ======================================
# Windows
# ======================================
- matrix:
only:
- job_type: Windows
install:
- ps: choco install ant --ignore-dependencies --version 1.10.12 -y
- ps: $env:Path="$($env:JAVA_HOME)\bin;$($env:Path);C:\ProgramData\chocolatey\lib\ant"
- ps: $env:ANT_OPTS="-Dfile.encoding=UTF-8"
- cmd: java -version
- cmd: ant -version
cache:
- C:\Users\appveyor\.ant
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
# ======================================
# macOS
# ======================================
- matrix:
only:
- job_type: macOS
install:
- sh: HOMEBREW_NO_AUTO_UPDATE=1 brew install ant
- sh: PATH="${JAVA_HOME}/bin:${PATH}"
- sh: java -version
- sh: ant -version
init:
- git config --global core.autocrlf input
build_script:
- ant jar
test: false
artifacts:
- path: jkcemu.jar