From 2b9f2e60040449db7b07d9f9873be3a3b1d3e69e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mat=C4=9Bj=C4=8Dek?= Date: Tue, 17 Dec 2024 17:29:45 +0100 Subject: [PATCH] Created linux workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Because Eclipse Jenkins CI does not support TestContainers while GitHub Actions do. Signed-off-by: David Matějček --- .github/workflows/build-linux.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build-linux.yml diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml new file mode 100644 index 00000000000..9ef33345551 --- /dev/null +++ b/.github/workflows/build-linux.yml @@ -0,0 +1,29 @@ + +name: Build on Ubuntu and JDK21 + +on: + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Install Maven + run: | + curl -o ./apache-maven-3.9.9-bin.zip https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.zip + tar -xf ./apache-maven-3.9.9-bin.zip + - name: Build with Maven + # qa skips documentation - we check it on Jenkins CI + # We skip checkstyle too - we check it on Jenkins CI + run: ./apache-maven-3.9.9/bin/mvn -B -e clean install -Pstaging -Pqa '-Dcheckstyle.skip=true' +