Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ jobs:
api-level: ${{ matrix.api-level }}
arch: x86_64
disable-animations: true
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
# Number of core of default public repository github action runner is 4 in all.
cores: 4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly that this is giving 4 cores to emulator, but we'll still be running Gradle at the same time also using up cores?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this PR just gives 4 cores to emulator.
You can check CI Gradle workers at here

org.gradle.workers.max=2

Emulator Gradle
PR #1999 4 cores 2 cores
PR #1816 2 cores 4 cores

Is there any problems when set the cores as below cases?
Case1: 4 and 2 cores (as #1999 merged)
Case2: 2 and 4 cores (as #1816 merged)
Case3: 4 and 4 cores (as all #1999 #1816 PR merged)

disk-size: 6000M
heap-size: 600M
script: ./gradlew connectedDemoDebugAndroidTest --daemon
Expand Down
Loading