Skip to content

Commit

Permalink
GitHub Actions: fix running out of space on Ubuntu build workflow (#23)
Browse files Browse the repository at this point in the history
Summary:
As per actions/runner-images#709 there started to be some issies with Ubuntu envs running out of space. This should fix it.

Also our Cargo builds use a lot of space, changing them to be non-incremental and removing debug symbols keeps the build fast, but greatly reduces the disk space usage leaving us enough space on GitHub Actions virtual machines.
Pull Request resolved: facebook/sapling#23

Reviewed By: farnz

Differential Revision: D22160020

Pulled By: lukaspiatkowski

fbshipit-source-id: c23393e310c15ebf5a18b80f0bb5f1f894d24849
  • Loading branch information
lukaspiatkowski authored and facebook-github-bot committed Jun 22, 2020
1 parent ee99a8b commit 99db467
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/fbcode_builder/getdeps/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,13 @@ def _build(self, install_dirs, reconfigure):
"""\
[build]
target-dir = '''{}'''
[net]
git-fetch-with-cli = true
[profile.dev]
debug = false
incremental = false
""".format(
self.build_dir.replace("\\", "\\\\")
)
Expand Down

0 comments on commit 99db467

Please sign in to comment.