Skip to content

Commit 954180d

Browse files
lukaspiatkowskifacebook-github-bot
authored andcommittedJun 22, 2020
GitHub Actions: fix running out of space on Ubuntu build workflow (#23)
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
1 parent a03dd8e commit 954180d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎build/fbcode_builder/getdeps/builder.py

+5
Original file line numberDiff line numberDiff line change
@@ -1002,8 +1002,13 @@ def _build(self, install_dirs, reconfigure):
10021002
"""\
10031003
[build]
10041004
target-dir = '''{}'''
1005+
10051006
[net]
10061007
git-fetch-with-cli = true
1008+
1009+
[profile.dev]
1010+
debug = false
1011+
incremental = false
10071012
""".format(
10081013
self.build_dir.replace("\\", "\\\\")
10091014
)

0 commit comments

Comments
 (0)
Please sign in to comment.