Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
build:
name: Build library and examples
runs-on: ubuntu-latest
timeout-minutes: 30 # a hung Gradle daemon otherwise holds the runner for 6 hours
permissions:
contents: read
packages: read
Expand All @@ -51,6 +52,9 @@ jobs:
uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0

# gradle.properties is gitignored here, so android.useAndroidX (needed for the androidx
# dependencies) is passed on the command line.
# dependencies) and the daemon heap are passed on the command line. Gradle's default 512 MB
# heap runs out while dexing the examples, and the daemon then hangs instead of failing.
- name: Build the library and every example
run: ./gradlew assembleDebug --continue -Pandroid.useAndroidX=true
run: >-
./gradlew assembleDebug --continue -Pandroid.useAndroidX=true
-Dorg.gradle.jvmargs="-Xmx4g -XX:MaxMetaspaceSize=1g"