-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
free up some disk space and reduce logging verbosity further
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,17 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Delete unnecessary tools to free up some space | ||
uses: jlumbroso/[email protected] | ||
with: | ||
android: false # Don't remove Android tools | ||
tool-cache: true # Remove image tool cache - rm -rf "$AGENT_TOOLSDIRECTORY" | ||
dotnet: true # rm -rf /usr/share/dotnet | ||
haskell: true # rm -rf /opt/ghc... | ||
swap-storage: true # rm -f /mnt/swapfile (4GiB) | ||
docker-images: false # Takes 16s, enable if needed in the future | ||
large-packages: false # includes google-cloud-sdk and it's slow | ||
|
||
- name: Enable KVM group perms | ||
run: | | ||
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | ||
|
@@ -40,8 +51,7 @@ jobs: | |
./gradlew devicesGroupdebugAndroidTest \ | ||
-Dorg.gradle.workers.max=1 \ | ||
-Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect \ | ||
-Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1 \ | ||
--info | ||
-Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1 | ||
- name: Build the app | ||
run: ./gradlew build | ||
|