From 852235339bac5ba1a56a2fc2b3f222ae97f1ec27 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Mon, 19 Oct 2020 15:55:01 +0200 Subject: [PATCH] Added github action to build on each push First try without workaround for openjdk7 --- .github/workflows/ci.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..1135ff71 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,26 @@ +--- +name: Java CI + +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-18.04] + java: [7, 8, 9, 11, 14, 15] + fail-fast: false + max-parallel: 4 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build with Gradle + run: ./gradlew clean build javadoc + +... \ No newline at end of file