blob: 354d2d52c8710416cbd6443e0370b7f81e146daa (
plain)
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
|
name: Continous build - build and test on every push
on: push
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [7, 8, 11]
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Report Java version
run: |
java -version
javac -version
- name: Build with Ant
run: ant test
|