Skip to content

Commit

Permalink
free up some disk space and reduce logging verbosity further
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian04 committed Apr 7, 2024
1 parent 12ab4dd commit 8509f45
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8509f45

Please sign in to comment.