|
|
|
@ -39,7 +39,7 @@ jobs:
|
|
|
|
|
name: windows-test-results |
|
|
|
|
path: build/test_results |
|
|
|
|
|
|
|
|
|
linux: |
|
|
|
|
linux8: |
|
|
|
|
name: Linux (Java 8) |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
permissions: |
|
|
|
@ -53,11 +53,31 @@ jobs:
|
|
|
|
|
uses: actions/setup-java@v1 |
|
|
|
|
with: |
|
|
|
|
java-version: 8 |
|
|
|
|
- name: Build |
|
|
|
|
env: |
|
|
|
|
PROPS_GITHUB: "-PgithubAccessToken=${{ secrets.GITHUB_TOKEN }}" |
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
run: ./gradlew build -x test -PskipAutostyle -PskipModuleInfo -PfailIfLibraryMissing=true $(echo $PROPS_GITHUB) --no-daemon |
|
|
|
|
|
|
|
|
|
linux: |
|
|
|
|
name: Linux (Java 11) |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
permissions: |
|
|
|
|
contents: read |
|
|
|
|
packages: read |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
with: |
|
|
|
|
fetch-depth: 2 |
|
|
|
|
- name: Set up JDK 11 |
|
|
|
|
uses: actions/setup-java@v1 |
|
|
|
|
with: |
|
|
|
|
java-version: 11 |
|
|
|
|
- name: Build & Test |
|
|
|
|
env: |
|
|
|
|
PROPS_GITHUB: "-PgithubAccessToken=${{ secrets.GITHUB_TOKEN }}" |
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
run: xvfb-run -a -server-num=1 --server-args="-screen 0 2000x3000x16" ./gradlew build test -PskipAutostyle -PfailIfLibraryMissing=true $(echo $PROPS_GITHUB) --no-daemon |
|
|
|
|
run: xvfb-run -a -server-num=1 --server-args="-screen 0 2000x3000x16" ./gradlew build test -PskipAutostyle -PfailIfLibraryMissing=true $(echo $PROPS_GITHUB) --no-daemon |
|
|
|
|
- name: Upload Test Results |
|
|
|
|
if: ${{ always() }} |
|
|
|
|
uses: actions/upload-artifact@v1 |
|
|
|
|