From f15a148b74949e87cd1caf592cbccfc12ebdaedb Mon Sep 17 00:00:00 2001 From: Re'em Bensimhon Date: Fri, 28 Mar 2025 14:59:15 +0300 Subject: [PATCH] Github actions CI --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 10 ---------- Makefile | 4 ++++ pom.xml | 2 +- 4 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml create mode 100644 Makefile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cd01ffa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Kumulus CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + buildAndTest: + runs-on: ubuntu-latest + + env: + TEST_ITERATIONS: 100 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - name: Test + run: mvn test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 98a8790..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: java -jdk: openjdk14 -sudo: false -env: - - TEST_ITERATIONS=100 -install: - - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Dgpg.skip=true -script: - - mvn clean package -Dgpg.skip=true - diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6959b88 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +.FORCE: + +deploy: .FORCE + @mvn -DskipTests clean package dokka:javadocJar deploy diff --git a/pom.xml b/pom.xml index 91b0c2a..9d7c6f9 100644 --- a/pom.xml +++ b/pom.xml @@ -189,7 +189,7 @@ org.jetbrains.dokka dokka-maven-plugin - 1.4.10.2 + 2.0.0 pre-site