def mocked_only(): windows_release() android_x86_wpt() linux_wpt() magicleap_dev() magicleap_nightly() decisionlib.DockerWorkerTask("Indexed by task definition").find_or_create()
def linux_tidy_unit_untrusted(): return ( decisionlib.DockerWorkerTask("Tidy + dev build + unit tests") .with_worker_type("docker-untrusted") .with_treeherder("Linux x64", "Tidy+Unit") .with_max_run_time_minutes(60) .with_dockerfile(dockerfile_path("build")) .with_env(**build_env, **unix_build_env, **linux_build_env) .with_repo_bundle() .with_script("rustup set profile minimal") # required by components/script_plugins: .with_script("rustup component add rustc-dev") .with_script(""" ./mach test-tidy --no-progress --all ./mach test-tidy --no-progress --self-test ./mach bootstrap-gstreamer ./mach build --dev ./mach test-unit ./etc/ci/lockfile_changed.sh ./etc/memory_reports_over_time.py --test ./etc/ci/check_no_panic.sh """) .create() )
def tidy_untrusted(): return (decisionlib.DockerWorkerTask( "Tidy").with_worker_type("servo-docker-untrusted").with_treeherder( "Linux x64", "Tidy").with_max_run_time_minutes(60).with_dockerfile( dockerfile_path("build")).with_env( **build_env, **unix_build_env, **linux_build_env).with_repo().with_script(""" ./mach test-tidy --no-progress --all """).create())
def linux_tidy_unit_untrusted(): return (decisionlib.DockerWorkerTask("Tidy + dev build + unit tests"). with_worker_type("servo-docker-untrusted").with_treeherder( "Linux x64", "Tidy+Unit").with_max_run_time_minutes(60).with_dockerfile( dockerfile_path("build")).with_env( **build_env, **unix_build_env, **linux_build_env).with_repo().with_script(""" ./mach test-tidy --no-progress --all ./mach test-tidy --no-progress --self-test ./mach build --dev ./mach test-unit ./etc/ci/lockfile_changed.sh ./etc/memory_reports_over_time.py --test ./etc/ci/check_no_panic.sh """).create())
def linux_task(name): return (decisionlib.DockerWorkerTask(name).with_worker_type( "servo-docker-worker").with_treeherder_required())
def mocked_only(): windows_release() android_x86_wpt() decisionlib.DockerWorkerTask("Indexed by task definition").find_or_create()
def linux_task(name): return (decisionlib.DockerWorkerTask(name).with_worker_type( "servo-docker-worker" if CONFIG.legacy_tc_deployment else "docker"). with_treeherder_required())