Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean intermediate dirs in pipeline builds to manage disk space #871

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

Scottj1s
Copy link
Member

Hosted agents are limited to 10GB of disk space, and we just started running out. Added a post-build target to delete the obj dir of each project.

@Scottj1s Scottj1s requested a review from manodasanW June 11, 2021 21:42
@@ -29,4 +29,8 @@
<Error Condition="!Exists('$(SolutionDir)TestWinRT')" Text="This solution requires the TestWinRT repo, which is missing. Please run build.cmd from a Visual Studio command prompt." />
</Target>

<Target Name="CleanIntermediateDirs" Condition="'$(CleanIntermediateDirs)'=='true'" AfterTargets="Build">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this set by us like on the pipeline?

@Scottj1s Scottj1s merged commit d4a60fd into master Jun 11, 2021
@Scottj1s Scottj1s deleted the scottj1s/pipeline_disk_space branch June 11, 2021 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants