Skip to content

Commit 4e7ed7a

Browse files
authored
Add CI matrix for jdk 8, 11 and 14 (#145)
* Add CI matrix for jdk 8, 11 and 14 Signed-off-by: Sagar Upadhyaya <[email protected]> * Adding check to not add javadoc options for jdk 8 Signed-off-by: Sagar Upadhyaya <[email protected]>
1 parent 3b3441c commit 4e7ed7a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ on:
1111

1212
jobs:
1313
build_rca_pkg:
14+
strategy:
15+
matrix:
16+
java:
17+
- 8
18+
- 11
19+
- 14
1420
runs-on: [ubuntu-latest]
1521
name: Building RCA package
1622
steps:
1723
- name: Set up JDK
1824
uses: actions/setup-java@v1
1925
with:
20-
java-version: 14
26+
java-version: ${{matrix.java}}
2127

2228
# RCA in ./tmp/performance-analyzer-rca
2329
- name: Checkout RCA

DEVELOPER_GUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- [Developer Guide](#developer-guide)
22
- [Forking and Cloning](#forking-and-cloning)
33
- [Install Prerequisites](#install-prerequisites)
4-
- [JDK 14](#jdk-14)
4+
- [JDK 11](#jdk-11)
55
- [Building](#building)
66
- [Using IntelliJ IDEA](#using-intellij-idea)
77
- [Submitting Changes](#submitting-changes)
@@ -16,9 +16,9 @@ Fork this repository on GitHub, and clone locally with `git clone`.
1616

1717
### Install Prerequisites
1818

19-
#### JDK 14
19+
#### JDK 11
2020

21-
OpenSearch components build using Java 14 at a minimum. This means you must have a JDK 14 installed with the environment variable `JAVA_HOME` referencing the path to Java home for your JDK 14 installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-14`.
21+
OpenSearch components build using Java 11 at a minimum. This means you must have a JDK 11 installed with the environment variable `JAVA_HOME` referencing the path to Java home for your JDK 11 installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-11`.
2222

2323
### Building
2424

0 commit comments

Comments
 (0)