Skip to content

Commit

Permalink
Contribute GH Build action to platform.ui
Browse files Browse the repository at this point in the history
Adds GH verification in the hope that GH validation is faster than the
Jenkins one.

Fixes #150
  • Loading branch information
vogella committed Jun 17, 2022
1 parent 9328b2d commit b6246f6
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,46 @@
name: Build Platform UI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # required for jgit timestamp provider to work
- uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
uses: GabrielBB/xvfb-action@v1
with:
run: >-
mvn
--batch-mode
--global-toolchains ${{ github.workspace }}/.github/workflows/toolchains.xml
-Pbuild-individual-bundles
-Pbree-libs
-Papi-check
-Dmaven.test.failure.ignore=true
-Dcompare-version-with-baselines.skip=false
-Dproject.build.sourceEncoding=UTF-8
-Dorg.slf4j.simpleLogger.showDateTime=true
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS
-DtrimStackTrace=false
clean verify
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: test-results
if-no-files-found: error
path: '**/target/surefire-reports/*.xml'

0 comments on commit b6246f6

Please sign in to comment.