Skip to content

Merge branch 'gitlab' of git@github.com:geckoprojects-org/org.gecko.e… #70

Merge branch 'gitlab' of git@github.com:geckoprojects-org/org.gecko.e…

Merge branch 'gitlab' of git@github.com:geckoprojects-org/org.gecko.e… #70

Workflow file for this run

name: CI Build
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**/*docs*'
- '.github/**/*codeql*'
- '.github/*.yml'
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**/*docs*'
- '.github/**/*codeql*'
- '.github/*.yml'
env:
LC_ALL: en_US.UTF-8
GRADLE_OPTS: >-
-Dorg.gradle.parallel=true
defaults:
run:
shell: bash
jobs:
Build_Matrix:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
java: [ 11, 17 ]
runner: [ 'xvfb-run --auto-servernum {0}' ]
name: JDK${{ matrix.java }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: "temurin"
cache: "gradle"
java-version: ${{ matrix.java }}
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Gradle version
run: ./gradlew --no-daemon --version
- name: Build with Gradle
run: ./gradlew build -x testOSGi
- name: Upload Test Reports
if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
uses: actions/upload-artifact@v3
with:
name: JDK${{ matrix.java }}_${{ matrix.os }}-test-reports
path: |
*/generated/test-reports/*/TEST-*.xml