Repository navigation
46 lines (44 loc) · 1.58 KB
/
Copy pathjava11_aoj.yml
File metadata and controls
46 lines (44 loc) · 1.58 KB
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
name: Java11_AOJ
on:
push:
paths:
- '*/*/java11_aoj.yml'
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '15 */3 * * *'
jobs:
java11:
# internal comment counter: 100
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
update: [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
package: [jdk, jre]
exclude:
- {os: windows-latest, package: jre, update: 1}
- {os: windows-latest, package: jre, update: 2}
- {os: windows-latest, package: jre, update: 3}
- {os: windows-latest, package: jre, update: 4}
- {os: macos-latest, package: jre, update: 1}
- {os: ubuntu-latest, package: jre, update: 1}
- {os: ubuntu-latest, package: jre, update: 2}
- {os: windows-latest, package: jdk, update: 1}
- {os: windows-latest, package: jdk, update: 2}
- {os: windows-latest, package: jdk, update: 3}
- {os: windows-latest, package: jdk, update: 4}
- {os: ubuntu-latest, package: jdk, update: 1}
- {os: ubuntu-latest, package: jdk, update: 2}
fail-fast: false
max-parallel: 4
name: ${{ matrix.package }} 11.0.${{ matrix.update }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11 AOJ
uses: foojayio/setup-java@discoTestingMatrix
with:
java-package: ${{ matrix.package }}
java-version: 11.0.${{ matrix.update }}
distro: aoj
- name: java -version
run: java -version