]> source.dussan.org Git - gitblit.git/commitdiff
Add ci workflow to build on every push.
authorFlorian Zschocke <florian.zschocke@devolo.de>
Sun, 5 Jan 2020 20:07:50 +0000 (21:07 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Sun, 5 Jan 2020 20:07:50 +0000 (21:07 +0100)
.github/workflows/ci-build.yml [new file with mode: 0644]

diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
new file mode 100644 (file)
index 0000000..9ee2601
--- /dev/null
@@ -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