summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2020-01-05 21:07:50 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2020-01-05 21:07:50 +0100
commit5bfcb4a25c2c81398f5c9e56632334d4f5fe2f40 (patch)
treefa0b5606154ce406b0065a900b4447a250ab417c /.github/workflows
parenteaaf99e188ecefbd589fe08fd3b7652190258379 (diff)
downloadgitblit-5bfcb4a25c2c81398f5c9e56632334d4f5fe2f40.tar.gz
gitblit-5bfcb4a25c2c81398f5c9e56632334d4f5fe2f40.zip
Add ci workflow to build on every push.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci-build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
new file mode 100644
index 00000000..9ee2601d
--- /dev/null
+++ b/.github/workflows/ci-build.yml
@@ -0,0 +1,25 @@
+name: Continous build - build and test on every push
+
+on: push
+
+jobs:
+ build:
+ name: Build and test
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v1
+ with:
+ submodules: true
+
+ - name: Setup Java
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+
+ - name: Build with Ant
+ run: ant compile
+
+ - name: Test with Ant
+ run: ant test