-
Notifications
You must be signed in to change notification settings - Fork 63
161 lines (159 loc) · 4.82 KB
/
native.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
name: Native CI
on:
schedule:
# Run every Monday morning at 6:00
- cron: '0 6 * * 1'
jobs:
clone-and-build:
name: Clone and build maxine
strategy:
matrix:
os: [macOS-latest, ubuntu-18.04]
fail-fast: false
runs-on: ${{ matrix.os }}
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
- uses: actions/setup-java@v1
with:
java-version: 8.0.212
- name: Install libnuma (Ubuntu)
if: matrix.os != 'macOS-latest'
run: sudo apt-get install libnuma-dev
- name: Check style
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine checkstyle
- name: Build
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine build
- name: mx jttgen && canonicalizeprojects
env:
MAXINE_HOME: ./
run: |
../mx/mx --no-download-progress --suite=maxine jttgen
../mx/mx --no-download-progress --suite=maxine canonicalizeprojects
- name: numa profiler
if: matrix.os != 'macOS-latest'
env:
MAXINE_HOME: ./
run: |
../mx/mx --no-download-progress --suite=maxine image -use-numa-profiler
../mx/mx --no-download-progress --suite=maxine vm -XX:NUMAProfilerExplicitGCThreshold=0 -cp test/bin test.output.HelloWorld
- name: mx image
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine image
- name: mx version with PrintCFGToFile
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine vm -C1X:+PrintCFGToFile -version
- name: Gate
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine -J-Xmx1g gate -maxvm-args=-Xmx1g -refvm-args=-Xmx1g
- uses: actions/upload-artifact@master
if: failure()
with:
name: gate-test-results-${{ matrix.os }}
path: maxine-tester
dacapos:
name: Run DaCapo benchmark-suite
strategy:
matrix:
os: [macOS-latest, ubuntu-18.04]
fail-fast: false
runs-on: ${{ matrix.os }}
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
- uses: actions/setup-java@v1
with:
java-version: 8.0.212
- name: Install libnuma (Ubuntu)
if: matrix.os != 'macOS-latest'
run: sudo apt-get install libnuma-dev
- name: Build
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine build
- name: mx image
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine image
- name: Benchmark
env:
MAXINE_HOME: ./
run: |
wget -nv https://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1/dacapo-9.12-MR1-bach.jar
../mx/mx --no-download-progress --suite=maxine testme -insitu -dacapoBach=`pwd`/dacapo-9.12-MR1-bach.jar -tests=dacapobach
- uses: actions/upload-artifact@master
if: failure()
with:
name: dacapo-test-results-${{ matrix.os }}
path: maxine-tester/insitu
specjvm2008:
name: Run SPECjvm2008 benchmark-suite
strategy:
matrix:
os: [macOS-latest, ubuntu-18.04]
fail-fast: false
runs-on: ${{ matrix.os }}
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
- uses: actions/setup-java@v1
with:
java-version: 8.0.212
- name: Install libnuma (Ubuntu)
if: matrix.os != 'macOS-latest'
run: sudo apt-get install libnuma-dev
- name: Build
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine build
- name: mx image
env:
MAXINE_HOME: ./
run: ../mx/mx --no-download-progress --suite=maxine image
- name: Get and install SPECjvm2008
env:
MAXINE_HOME: ./
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
env:
MAXINE_HOME: ./
run: |
../mx/mx --no-download-progress --suite=maxine testme -insitu -timeout-scale=200 -specjvm2008=`pwd`/SPECjvm2008/SPECjvm2008.jar -tests=specjvm2008
- uses: actions/upload-artifact@master
if: failure()
with:
name: specjvm-test-results-${{ matrix.os }}
path: maxine-tester/insitu