Skip to content

Commit

Permalink
[release/6.0][Android] Free up more disk space on CI builds (#84568)
Browse files Browse the repository at this point in the history
backport of #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.

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
  • Loading branch information
steveisok and Steve Pfister committed Apr 10, 2023
1 parent c885ca4 commit 5601390
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 5601390

Please sign in to comment.