Bug 1637544: Use sccache on instrumented builds on non-release branches; r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D82485
This commit is contained in:
Tom Prince 2020-07-07 08:39:25 +00:00
Родитель 2d287e7d96
Коммит 9c3f3b3519
2 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -29,6 +29,13 @@ job-defaults:
actions: [get-secrets, build]
script: mozharness/scripts/fx_desktop_build.py
secrets: true
use-sccache:
by-release-level:
production: false
staging: true
fetches:
toolchain:
- linux64-sccache
jobs:
linux-shippable/opt:

Просмотреть файл

@ -167,6 +167,16 @@ def use_profile_data(config, jobs):
yield job
@transforms.add
def resolve_keys(config, jobs):
for job in jobs:
resolve_keyed_by(
job, 'use-sccache', item_name=job['name'],
**{'release-level': config.params.release_level()}
)
yield job
@transforms.add
def enable_full_crashsymbols(config, jobs):
"""Enable full crashsymbols on jobs with