Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 5489a2c8 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé Committed by GitHub
Browse files

Merge pull request #7178 from thundernest/fix_github_action_runs

Fix GitHub Actions Failure with Error Code 143
parents e84354ca d142bbef
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
org.gradle.daemon=false
org.gradle.parallel=true
org.gradle.workers.max=2

kotlin.incremental=false
kotlin.compiler.execution.strategy=in-process
+19 −1
Original line number Diff line number Diff line
@@ -21,11 +21,29 @@ jobs:

  build:
    runs-on: ubuntu-latest
    timeout-minutes: 90

    steps:
      - uses: actions/checkout@v4

      - name: Copy CI gradle.properties
        run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

      - uses: actions/setup-java@v3
        with:
          distribution: temurin
          java-version: 17

      - uses: gradle/gradle-build-action@v2
      - run: ./gradlew assembleDebug detekt spotlessCheck testsOnCi

      - name: Quality - Spotless
        run: ./gradlew spotlessCheck

      - name: Quality - Detekt
        run: ./gradlew detekt

      - name: Build
        run: ./gradlew assembleDebug

      - name: Test
        run: ./gradlew testsOnCi
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ android.defaults.buildfeatures.shaders=false

# Gradle
## Ensure important default jvmargs aren't overwritten. See https://github.com/gradle/gradle/issues/19750
org.gradle.jvmargs=-Xmx4G -Xms1G -XX:MaxMetaspaceSize=1536M -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError
org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError

org.gradle.parallel=true