File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments