Debug added dependencies #235
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-20.04, windows-2019, macos-10.15, macos-11 ] | |
java: [ 11 ] | |
gradle: [ 6.9.1 ] | |
experimental: [ false ] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
# Increases page file size on Windows, fixing JVM crashes such as "The paging file is too small for this operation | |
# to complete" | |
- uses: al-cheb/configure-pagefile-action@v1.2 | |
if: runner.os == 'Windows' | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v2 | |
id: cache-mavenize | |
with: | |
path: | | |
~/.mavenize/eclipse_archive_cache/*.dmg | |
~/.mavenize/eclipse_archive_cache/*.zip | |
~/.mavenize/eclipse_archive_cache/*.tar.gz | |
key: mavenize-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
mavenize-${{ runner.os }}- | |
- uses: actions/cache@v2 | |
id: cache-gradle | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: gradle-${{ runner.os }}-${{ matrix.gradle }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
gradle-${{ runner.os }}- | |
- uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle }} | |
arguments: buildAll --parallel --stacktrace "-Dorg.gradle.jvmargs=-Xms4G -Xmx4G -Xss8M" | |
- id: print-jvm-crash-logs | |
if: ${{ failure() }} | |
run: cat hs_err_pid*.log; cat **/hs_err_pid*.log; cat replay_pid*.log; cat **/replay_pid*.log; true | |
shell: bash |