Skip to content

Commit 8549471

Browse files
committed
ci: Add build with Java 7 on Linux
Add a job to run a build with Java 7. The job currently only runs on Linux. In order to run on Java 7, an old Ant version is downloaded and installed. We use moxie+ant for this, so we build with moxie.
1 parent 616fcd1 commit 8549471

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,32 @@ jobs:
2929
3030
- name: Build with Ant
3131
run: ant test
32+
33+
build_j7:
34+
name: Build and test on Java 7
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v1
40+
with:
41+
submodules: true
42+
43+
- name: Setup Java 7
44+
uses: actions/setup-java@v1
45+
with:
46+
java-version: 7
47+
48+
- name: Report Java version
49+
run: |
50+
java -version
51+
javac -version
52+
53+
- name: Setup Moxie
54+
run: |
55+
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
56+
tar -xzf moxie+ant-0.9.4.tar.gz
57+
moxie-0.9.4/bin/moxie -version
58+
59+
- name: Build with Moxie
60+
run: moxie-0.9.4/bin/moxie

0 commit comments

Comments
 (0)