Skip to content

Commit 8939b47

Browse files
build: build github action (#741)
1 parent c92579b commit 8939b47

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci-build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build znai
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
java: [1.8, 11]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set up JDK 1.8
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: ${{ matrix.java }}
19+
20+
- name: Set up grahpviz
21+
run: sudo apt-get install graphviz
22+
23+
- name: Build with xvfb enabled
24+
uses: GabrielBB/xvfb-action@v1.0
25+
with:
26+
run: mvn -B package

0 commit comments

Comments
 (0)