Skip to content

Commit

Permalink
[release/6.0][Android] Free up more disk space on CI builds
Browse files Browse the repository at this point in the history
backport of dotnet#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.
  • Loading branch information
Steve Pfister committed Apr 10, 2023
1 parent b412149 commit 31ec814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/testing/tests.mobile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
DestinationFolder="$(TestArchiveTestsDir)"
SkipUnchangedFiles="true"
Condition="'$(ArchiveTests)' == 'true' and '$(IgnoreForCI)' != 'true'" />

<RemoveDir Condition="'$(ArchiveTests)' == 'true' and '$(IgnoreForCI)' != 'true'"
Directories="$(OutDir)" />
</Target>

<!-- Generate a self-contained app bundle for iOS with tests. -->
Expand Down

0 comments on commit 31ec814

Please sign in to comment.