1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

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
This commit is contained in:
Lukasz Piatkowski
2020-06-22 07:48:59 -07:00
committed by Facebook GitHub Bot
parent 507dc59113
commit 0c7db3e979

View File

@@ -1002,8 +1002,13 @@ class CargoBuilder(BuilderBase):
"""\ """\
[build] [build]
target-dir = '''{}''' target-dir = '''{}'''
[net] [net]
git-fetch-with-cli = true git-fetch-with-cli = true
[profile.dev]
debug = false
incremental = false
""".format( """.format(
self.build_dir.replace("\\", "\\\\") self.build_dir.replace("\\", "\\\\")
) )