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 9ae4132
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,44 @@
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
-Pbuild-individual-bundles
-Pbree-libs
-Papi-check
-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 9ae4132

Please sign in to comment.