Change the GRADLE_OPTS to alleviate out of memory errors when compiling.

This commit is contained in:
Miku AuahDark
2024-03-16 11:04:53 +08:00
parent 7fd649271a
commit c73f7fec23
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
matrix: matrix:
build_type: [Debug, Release] build_type: [Debug, Release]
env: env:
JAVA_OPTS: '-Xmx10G' GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4G'"
steps: steps:
- name: Prepare Environment - name: Prepare Environment
run: sudo apt-get update && curl -Lo kitware-archive.sh https://apt.kitware.com/kitware-archive.sh && sudo bash ./kitware-archive.sh run: sudo apt-get update && curl -Lo kitware-archive.sh https://apt.kitware.com/kitware-archive.sh && sudo bash ./kitware-archive.sh