From 710531af1c10f1534289764910d28970615ccdd5 Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Fri, 17 Apr 2020 17:11:03 +0200 Subject: [PATCH] Creates a GitHub action to compile and test the code --- .github/workflows/ant.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ant.yml diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000..f1c67ac --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,24 @@ +# This workflow will build a Java project with Ant +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant + +name: Java CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Ant + run: ant -noinput -buildfile build.xml clean test