MinieDump: tweak the output boilerplate #1504
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
--- | |
# GitHub Actions workflow for commits pushed to the Minie repo - all branches | |
name: CI at GitHub | |
on: [push] | |
jobs: | |
Java8-Linux: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 8 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' | |
Java11-Linux: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' | |
Java11-MacOS: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: macOS-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-report | |
path: 'build/reports/tests/test/index.html' | |
Java11-Windows: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- run: ./gradlew build -Pbtdebug -Ppdb64 --console=plain --no-daemon --stacktrace | |
shell: bash | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' | |
Java17-MacOS: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: macOS-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' | |
Java19-Linux: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 19 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' | |
Java19-MacOS: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: macOS-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 19 | |
- run: ./gradlew build -Pbtdebug --console=plain --no-daemon --stacktrace | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-report | |
path: 'build/reports/tests/test/index.html' | |
Java20-Windows: | |
if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 20 | |
- run: ./gradlew build -Pbtdebug -Ppdb64 --console=plain --no-daemon --stacktrace | |
shell: bash | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crash-log | |
path: 'MinieLibrary/*.log' |