[build] Double gradle build max heap size to 2G (#2689)

The Gradle heap size is currently set to 1G, and that's becoming too
small for our Linux build.

Developers who want to override this without editing the project's
build.gradle can override these settings with gradle.properties in
GRADLE_USER_HOME (see
https://docs.gradle.org/current/userguide/build_environment.html for
details).
This commit is contained in:
Tyler Veness
2020-09-27 00:07:40 -07:00
committed by GitHub
parent 651319589c
commit 61ee331f11

View File

@@ -19,7 +19,7 @@ jobs:
build-options: "-Ponlylinuxaarch64bionic"
- container: wpilib/ubuntu-base:18.04
artifact-name: Linux
build-options: ""
build-options: "-Dorg.gradle.jvmargs=-Xmx2g"
name: "Build - ${{ matrix.artifact-name }}"
runs-on: ubuntu-latest
container: ${{ matrix.container }}