Improve and simplify the releng infrastructure #175
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '17' ] | |
name: Java ${{ matrix.java }} compile | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: ${{ matrix.java }} | |
- name: Install xvfb | |
run: sudo apt-get install xvfb | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build All Widgets | |
run: xvfb-run mvn -V clean verify -Dtycho.localArtifacts=ignore | |
# - name: Build Incubation Widgets | |
# run: xvfb-run mvn -V clean verify -Pincubation -Dtycho.localArtifacts=ignore | |
# - name: Publish Unit Test Results | |
# uses: EnricoMi/publish-unit-test-result-action@v1 | |
# if: always() | |
# with: | |
# files: /**/surefire-reports/*.xml |