Skip to content

Commit

Permalink
Created linux workflow
Browse files Browse the repository at this point in the history
- Because Eclipse Jenkins CI does not support TestContainers while GitHub
  Actions do.

Signed-off-by: David Matějček <[email protected]>
  • Loading branch information
dmatej committed Dec 17, 2024
1 parent d3b7e03 commit 2b9f2e6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 2b9f2e6

Please sign in to comment.