From 90d4b53a3908a550cad01b46b63a3d4e2d51e799 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Wed, 10 Feb 2021 15:51:30 +0100 Subject: [PATCH 1/2] Added github actions to replace travis --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..34f513e7c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +--- +name: Java CI + +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-18.04, macOS-latest, windows-2016] + java: [8, 11, 15] + fail-fast: false + max-parallel: 4 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Assemble and check with Gradle + run: ./gradlew assemble check +... \ No newline at end of file From f47fda0ab43c5176049196b225be412457724d6d Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Wed, 10 Feb 2021 15:57:07 +0100 Subject: [PATCH 2/2] removed jdk 15 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34f513e7c..b7e9261c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-18.04, macOS-latest, windows-2016] - java: [8, 11, 15] + java: [8, 11] fail-fast: false max-parallel: 4 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}