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 16:39:28 +00:00
Родитель cfe40e25ca
Коммит 50513f07b4
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