Skip to content

Commit aff1965

Browse files
committed
Add basic GitHub CI
1 parent aef8680 commit aff1965

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up JDK 11
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '11'
19+
distribution: 'adopt'
20+
21+
- name: Cache Ant dependencies
22+
uses: actions/cache@v3
23+
with:
24+
path: ~/.ant
25+
key: ${{ runner.os }}-ant-${{ hashFiles('**/build.xml') }}
26+
restore-keys: |
27+
${{ runner.os }}-ant-
28+
29+
- name: Build H2LJ with Ant
30+
run: ant jar-h2lj
31+
32+
- name: Build main JAR with Ant
33+
run: ant jar
34+
35+
- name: Build scanner with Ant
36+
run: ant jar-scanner

0 commit comments

Comments
 (0)