Skip to content

Commit bb5d1ef

Browse files
committed
Merge branch 'ci' into master
Now we can also build on GitHub ci ignore
2 parents eaaf99e + 9b32ae7 commit bb5d1ef

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Continous build - build and test on every push
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- release
7+
- 'releases/**'
8+
- gh-pages
9+
10+
jobs:
11+
build:
12+
name: Build and test
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest]
17+
java-version: [8, 11]
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v1
22+
with:
23+
submodules: true
24+
25+
- name: Setup Java ${{ matrix.java-version }}
26+
uses: actions/setup-java@v1
27+
with:
28+
java-version: ${{ matrix.java-version }}
29+
30+
- name: Report Java version
31+
run: |
32+
java -version
33+
javac -version
34+
35+
- name: Build with Ant
36+
run: ant test
37+
38+
build_j7:
39+
name: Build and test on Java 7
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v1
45+
with:
46+
submodules: true
47+
48+
- name: Setup Java 7
49+
uses: actions/setup-java@v1
50+
with:
51+
java-version: 7
52+
53+
- name: Report Java version
54+
run: |
55+
java -version
56+
javac -version
57+
58+
- name: Setup Moxie
59+
run: |
60+
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
61+
tar -xzf moxie+ant-0.9.4.tar.gz
62+
moxie-0.9.4/bin/moxie -version
63+
64+
- name: Build with Moxie
65+
run: moxie-0.9.4/bin/moxie

0 commit comments

Comments
 (0)