From 2c37a2df57ffd8e940a12a678e1cac383d7acf97 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Wed, 5 Apr 2023 18:32:04 -0400 Subject: [PATCH] [Android] Free up more disk space on CI builds (#84354) The android builds are running out of disk space when building the library test apps. This change tries to recoup some of that space by deleting artifacts after each test was built. --- eng/testing/tests.android.targets | 2 ++ .../Android.Device_Emulator.StartupHook.Test.csproj | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/testing/tests.android.targets b/eng/testing/tests.android.targets index 9f67b7b3c6a24..3c3eb46fa28eb 100644 --- a/eng/testing/tests.android.targets +++ b/eng/testing/tests.android.targets @@ -69,6 +69,8 @@ DestinationFolder="$(TestArchiveTestsDir)" SkipUnchangedFiles="true" Condition="'$(ArchiveTests)' == 'true' and '$(IgnoreForCI)' != 'true'" /> + + \ No newline at end of file diff --git a/src/tests/FunctionalTests/Android/Device_Emulator/StartupHook/Android.Device_Emulator.StartupHook.Test.csproj b/src/tests/FunctionalTests/Android/Device_Emulator/StartupHook/Android.Device_Emulator.StartupHook.Test.csproj index 16635288c9c9b..79a8b8cd63cfc 100644 --- a/src/tests/FunctionalTests/Android/Device_Emulator/StartupHook/Android.Device_Emulator.StartupHook.Test.csproj +++ b/src/tests/FunctionalTests/Android/Device_Emulator/StartupHook/Android.Device_Emulator.StartupHook.Test.csproj @@ -14,6 +14,8 @@ - + + true +