forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.24 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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'