forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bench_java.yaml
75 lines (75 loc) · 1.74 KB
/
bench_java.yaml
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
lang: java
problems:
- name: helloworld
source:
- 1.java
- name: binarytrees
source:
- 2.java
- name: nbody
source:
- 1.java
- name: pidigits
source:
- 1.java
- name: edigits
source:
- 1.java
- name: fannkuch-redux
source:
- 1.java
- name: fasta
source:
- 4.java
- name: mandelbrot
source:
- 4.java
- name: spectral-norm
source:
- 2.java
compiler_version_command: javac -version
compiler_version_regex:
runtime_version_parameter: -version
runtime_version_regex:
source_rename_to: app.java
environments:
- os: linux
compiler: adoptopenjdk
version: 8
docker: adoptopenjdk/openjdk8:slim
include:
build: javac app.java -d out && cp -r /opt/java/openjdk ./out
out_dir: out
run_cmd: openjdk/bin/java app
- os: linux
compiler: adoptopenjdk
version: 11
docker: adoptopenjdk/openjdk11:slim
include:
build: javac app.java -d out && cp -r /opt/java/openjdk ./out
out_dir: out
run_cmd: openjdk/bin/java app
- os: linux
compiler: adoptopenjdk-openj9
version: 16
docker: adoptopenjdk/openjdk16-openj9:slim
include:
build: javac app.java -d out && cp -r /opt/java/openjdk ./out
out_dir: out
run_cmd: openjdk/bin/java app
- os: linux
compiler: adoptopenjdk
version: 16
docker: adoptopenjdk/openjdk16:slim
include:
build: javac app.java -d out && cp -r /opt/java/openjdk ./out
out_dir: out
run_cmd: openjdk/bin/java app
# - os: linux
# compiler: zuluopenjdk
# version: 16
# docker: azul/zulu-openjdk:16
# include:
# build: javac app.java -d out && cp -r /usr/lib/jvm/zulu16-ca-amd64 ./out/openjdk
# out_dir: out
# run_cmd: openjdk/bin/java app