From 438ad098718c339b7ab29a30c8d281d2f4c082ec Mon Sep 17 00:00:00 2001 From: Lukasz Piatkowski Date: Mon, 22 Jun 2020 07:48:59 -0700 Subject: [PATCH] GitHub Actions: fix running out of space on Ubuntu build workflow (#23) Summary: As per https://github.com/actions/virtual-environments/issues/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: https://github.com/facebookexperimental/eden/pull/23 Reviewed By: farnz Differential Revision: D22160020 Pulled By: lukaspiatkowski fbshipit-source-id: c23393e310c15ebf5a18b80f0bb5f1f894d24849 --- build/fbcode_builder/getdeps/builder.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/fbcode_builder/getdeps/builder.py b/build/fbcode_builder/getdeps/builder.py index 3bc92ee1ad7..308f1c8545b 100644 --- a/build/fbcode_builder/getdeps/builder.py +++ b/build/fbcode_builder/getdeps/builder.py @@ -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("\\", "\\\\") )