Skip to content

Commit 949b062

Browse files
author
Sophia Guo
committed
Add nightly build yaml file
Update test.yml to base on the tip of the master Signed-off-by: Sophia Guo <[email protected]>
1 parent b7fc427 commit 949b062

File tree

4 files changed

+89
-3
lines changed

4 files changed

+89
-3
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "nightly build-openj9 jdk 11"
2+
on:
3+
schedule:
4+
- cron: '30 21 * * 1-5'
5+
6+
jobs:
7+
build:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-16.04, macos-10.15, windows-2016]
13+
steps:
14+
- uses: eclipse/build-openj9@v1
15+
id: buildJDK
16+
with:
17+
version: 11
18+
- name: AQA
19+
uses: AdoptOpenJDK/run-aqa@v1
20+
env:
21+
TEST_JDK_HOME: ${{ steps.buildJDK.outputs.BuildJDKDir }}
22+
with:
23+
build_list: 'functional'
24+
target: '_sanity'
25+
- uses: actions/upload-artifact@v2
26+
if: failure()
27+
with:
28+
name: test_output
29+
path: ./**/test_output_*/
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "nightly build-openj9 jdk 14"
2+
on:
3+
schedule:
4+
- cron: '30 21 * * 1-5'
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-16.04, macos-10.15]
12+
steps:
13+
- uses: eclipse/build-openj9@v1
14+
id: buildJDK
15+
with:
16+
version: 14
17+
- name: AQA
18+
uses: AdoptOpenJDK/run-aqa@v1
19+
env:
20+
TEST_JDK_HOME: ${{ steps.buildJDK.outputs.BuildJDKDir }}
21+
with:
22+
build_list: 'functional'
23+
target: '_sanity'
24+
- uses: actions/upload-artifact@v2
25+
if: failure()
26+
with:
27+
name: test_output
28+
path: ./**/test_output_*/
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "nightly build-openj9 jdk 8"
2+
on:
3+
schedule:
4+
- cron: '30 21 * * 1-5'
5+
6+
jobs:
7+
build:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-16.04]
13+
steps:
14+
- uses: eclipse/build-openj9@v1
15+
id: buildJDK
16+
with:
17+
version: 8
18+
- name: AQA
19+
uses: AdoptOpenJDK/run-aqa@v1
20+
env:
21+
TEST_JDK_HOME: ${{ steps.buildJDK.outputs.BuildJDKDir }}
22+
with:
23+
build_list: 'functional'
24+
target: '_sanity'
25+
- uses: actions/upload-artifact@v2
26+
if: failure()
27+
with:
28+
name: test_output
29+
path: ./**/test_output_*/

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "test"
1+
name: "test branch tip"
22
on:
33
push:
44
branches-ignore:
@@ -9,10 +9,10 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [windows-2016, ubuntu-18.04, macos-latest]
12+
os: [windows-2016, ubuntu-16.04, macos-latest]
1313
steps:
1414
- uses: actions/checkout@v1
15-
- uses: eclipse/build-openj9@v1
15+
- uses: ./
1616
id: buildJDK
1717
with:
1818
version: 11

0 commit comments

Comments
 (0)