bug 1182520 - Put Taskcluster task definition for mac-cross builds in tree. r=dustin

This commit is contained in:
Ted Mielczarek 2015-07-13 15:20:54 -04:00
parent c1c5a16e8c
commit d26e468e44
2 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,22 @@
$inherits:
from: 'tasks/builds/opt_macosx64.yml'
variables:
build_name: 'macosx64'
build_type: 'dbg'
task:
metadata:
name: '[TC] MacOSX64 Dbg'
description: 'MacOSX64 Dbg'
workerType: dbg-macosx64
payload:
env:
MH_CUSTOM_BUILD_VARIANT_CFG: 'debug'
extra:
treeherder:
groupSymbol: tc
groupName: Submitted by taskcluster
symbol: B
collection:
debug: true

View File

@ -0,0 +1,59 @@
$inherits:
from: 'tasks/build.yml'
variables:
build_name: 'macosx64'
build_type: 'opt'
task:
metadata:
name: '[TC] MacOSX64 Opt'
description: 'MacOSX64 Opt'
workerType: opt-macosx64
routes:
- 'index.buildbot.branches.{{project}}.macosx64'
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.macosx64'
scopes:
- 'docker-worker:cache:build-macosx64-workspace'
- 'docker-worker:cache:tooltool-cache'
payload:
image: '{{#docker_image}}desktop-build{{/docker_image}}'
cache:
build-macosx64-workspace: '/home/worker/workspace'
tooltool-cache: '/home/worker/tooltool-cache'
features:
relengAPIProxy: true
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
MOZHARNESS_CONFIG: 'builds/releng_base_mac_cross_builds.py balrog/production.py'
MH_BRANCH: {{project}}
MH_BUILD_POOL: taskcluster
#TODO: bug 1164617 - remove Docker image hacks
LIBRARY_PATH: ""
CPLUS_INCLUDE_PATH: ""
# image paths
TOOLTOOL_CACHE: '/home/worker/tooltool-cache'
DIST_UPLOADS: 'jsshell-mac.zip'
DIST_TARGET_UPLOADS: 'x-test.mac.tar.bz2 mac.dmg mac.json tests.zip crashreporter-symbols.zip'
maxRunTime: 36000
command: ["/bin/bash", "bin/build.sh"]
extra:
treeherderEnv:
- production
- staging
treeherder:
machine:
# see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
platform: macosx64
# Rather then enforcing particular conventions we require that all build
# tasks provide the "build" extra field to specify where the build and tests
# files are located.
locations:
build: 'public/build/target.mac.dmg'
tests: 'public/build/target.tests.zip'