-
Notifications
You must be signed in to change notification settings - Fork 64
226 lines (224 loc) · 6.49 KB
/
dockerized-ci.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
name: Dockerized CI
on: push
jobs:
x86:
name: x86 build and test
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Check style
run: $MX checkstyle
- name: Build
run: $MX build
- name: mx jttgen && canonicalizeprojects
run: |
$MX jttgen
$MX canonicalizeprojects
- name: x86-image
run: |
$MX -J-ea image @gss
$MX -J-ea image
- name: Gate
run: $MX -J-Xmx1g gate -maxvm-args=-Xmx1g -refvm-args=-Xmx1g
- uses: actions/upload-artifact@master
if: failure()
with:
name: gate-test-results-docker
path: maxine-tester
aarch64:
name: AArch64 cross build and test
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Build
run: $MX build
- name: AArch64-cross-test
run: |
$MX --J @"-ea" testme -s=t -junit-test-timeout=1800 -tests=junit:aarch64.asm+Aarch64T1XTest+Aarch64T1XpTest+Aarch64JTT
- uses: actions/upload-artifact@master
if: failure()
with:
name: aarch64-test-results-docker
path: maxine-tester
- name: AArch64-cross-image
run: $MX image -build=DEBUG -platform linux-aarch64 -isa Aarch64
armv7:
name: ARMv7 cross build and test
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Build
run: $MX build
- name: ARMv7-cross-test
run: |
$MX --J @"-ea" testme -s=t -junit-test-timeout=1800 -tests=junit:armv7.asm+ARMV7T1XTest+ARMV7JTT
- uses: actions/upload-artifact@master
if: failure()
with:
name: armv7-test-results-docker
path: maxine-tester
- name: ARMv7-cross-image
run: $MX image -build=DEBUG -platform linux-arm -isa ARMV7
riscv:
name: RISC-V cross build and test
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Build
run: $MX build
- name: RISC-V-cross-test
run: |
$MX --J @"-ea" testme -s=t -junit-test-timeout=1800 -tests=junit:riscv64.asm+max.asm.target.riscv+riscv64.t1x+riscv64.jtt
- uses: actions/upload-artifact@master
if: failure()
with:
name: riscv64-test-results-docker
path: maxine-tester
- name: RISCV64-cross-image
run: $MX image -build=DEBUG -platform linux-riscv64 -isa RISCV64
dacapos:
name: Run DaCapo benchmark-suite
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Build
run: $MX build
- name: x86-image
run: $MX -J-ea image
- name: Benchmark
run: |
wget -nv https://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1/dacapo-9.12-MR1-bach.jar
$MX testme -insitu -dacapoBach=`pwd`/dacapo-9.12-MR1-bach.jar -tests=dacapobach
- uses: actions/upload-artifact@master
if: failure()
with:
name: dacapo-test-results-docker
path: maxine-tester/insitu
specjvm2008:
name: Run SPECjvm2008 benchmark-suite
runs-on: ubuntu-18.04
container:
image: beehivelab/maxine-dev:latest
env:
MAXINE_HOME: maxine
MX: "../mx/mx --no-download-progress --suite=maxine"
MX_GIT_CACHE: refcache
volumes:
- /github/home/.mx:/github/home/.mx
- /github/home/maxine-src:/root/maxine-src
steps:
- uses: actions/checkout@v1
with:
path: maxine
fetch-depth: 1
submodules: true
- uses: actions/checkout@v1
with:
repository: graalvm/mx.git
ref: 5.194.3
path: mx
- name: Build
run: $MX build
- name: x86-image
run: $MX -J-ea image
- name: Get and install SPECjvm2008
run: |
wget -nv http://spec.cs.miami.edu/downloads/osg/java/SPECjvm2008_1_01_setup.jar
java -jar SPECjvm2008_1_01_setup.jar -i silent -DUSER_INSTALL_DIR=`pwd`/SPECjvm2008
- name: Benchmark
run: $MX testme -insitu -timeout-scale=200 -specjvm2008=`pwd`/SPECjvm2008/SPECjvm2008.jar -tests=specjvm2008
- uses: actions/upload-artifact@master
if: failure()
with:
name: specjvm2008-test-results-docker
path: maxine-tester/insitu