Skip to content

Merge pull request #33 from i-Cell-Mobilsoft-Open-Source/feature/32_C… #74

Merge pull request #33 from i-Cell-Mobilsoft-Open-Source/feature/32_C…

Merge pull request #33 from i-Cell-Mobilsoft-Open-Source/feature/32_C… #74

Workflow file for this run

name: Compile with Maven
on:
push:
branches:
- main
- 'release/**'
pull_request:
branches-ignore:
- 'gh-pages'
- 'dependabot/**'
jobs:
compile-on-linux-with-jdk:
strategy:
matrix:
os: [ 'ubuntu-latest']
java: [ '17' ]
runs-on: ${{ matrix.os }}
name: Compile on ${{ matrix.os }} with JDK ${{ matrix.java }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
# https://github.com/actions/setup-java
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
# Maven script [ package ]
- name: Build with Maven
run: mvn -B package --file pom.xml
#
# compile-on-windows-with-jdk:
# strategy:
# matrix:
# os: [ 'windows-latest' ]
# java: [ '17' ]
# runs-on: ${{ matrix.os }}
# name: Compile on ${{ matrix.os }} with JDK ${{ matrix.java }}
# steps:
#
# # https://github.com/actions/checkout
# - uses: actions/checkout@v4
#
# # https://github.com/actions/setup-java
# - name: Set up JDK ${{ matrix.java }}
# uses: actions/setup-java@v4
# with:
# java-version: ${{ matrix.java }}
# distribution: 'temurin'
# cache: 'maven'
#
# # Maven script [ package ] without Test (testcoiners is not working on windows host)
# - name: Build with Maven
# run: mvn -B package --file pom.xml -DskipTests=true