зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1900155 - do not add requires-gpu for hardware tasks. r=aryx,taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D212357
This commit is contained in:
Родитель
8d803dbf44
Коммит
25fc59ce1a
|
@ -142,8 +142,10 @@ def set_worker_type(config, tasks):
|
|||
if task[
|
||||
"virtualization"
|
||||
] == "virtual-with-gpu" and test_platform.startswith("windows1"):
|
||||
# add in `--requires-gpu` to the mozharness options
|
||||
task["mozharness"]["extra-options"].append("--requires-gpu")
|
||||
# some unittests can run on hardware, no need for --requires-gpu
|
||||
if not test_platform.startswith("windows11-64-2009-hw-ref"):
|
||||
# add in `--requires-gpu` to the mozharness options
|
||||
task["mozharness"]["extra-options"].append("--requires-gpu")
|
||||
|
||||
# now we have the right platform set the worker type accordingly
|
||||
task["worker-type"] = win_worker_type_platform[task["virtualization"]]
|
||||
|
|
Загрузка…
Ссылка в новой задаче