зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1418141: Combine taskcluster win32 mozharness configs. r=jlund
MozReview-Commit-ID: ICMryQvdHCz --HG-- extra : rebase_source : be395093eee9318c6c0f9fe0d9c900c66043cbaf
This commit is contained in:
Родитель
d7f80c5aa7
Коммит
d84084cac2
|
@ -14,10 +14,12 @@ win32/debug:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_debug.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/debug.py
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
- win32-rust
|
||||
|
@ -39,10 +41,12 @@ win32/opt:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/opt.py
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
- win32-rust
|
||||
|
@ -64,10 +68,12 @@ win32-dmd/opt:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/opt.py
|
||||
custom-build-variant-cfg: dmd
|
||||
run-on-projects: []
|
||||
toolchains:
|
||||
|
@ -91,11 +97,12 @@ win32/pgo:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [enable-pgo]
|
||||
options: [enable-pgo, append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/opt.py
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
- win32-rust
|
||||
|
@ -198,10 +205,12 @@ win32-nightly/opt:
|
|||
run:
|
||||
using: mozharness
|
||||
actions: [clone-tools, build, check-test, update]
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/opt.py
|
||||
- disable_signing.py
|
||||
- taskcluster_nightly.py
|
||||
toolchains:
|
||||
|
@ -282,10 +291,12 @@ win32-add-on-devel/opt:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: "mozharness/scripts/fx_desktop_build.py"
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_addondevel.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/addondevel.py
|
||||
- balrog/production.py
|
||||
run-on-projects: ['mozilla-beta', 'mozilla-release', 'mozilla-esr45']
|
||||
toolchains:
|
||||
|
@ -362,10 +373,12 @@ win32-noopt/debug:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_win32_noopt_debug.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/noopt_debug.py
|
||||
run-on-projects: ['trunk', 'try']
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
|
@ -388,10 +401,12 @@ win32-rusttests/opt:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_win32_rusttests_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/rusttests_opt.py
|
||||
run-on-projects: ['trunk', 'try']
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
|
@ -524,9 +539,11 @@ win32-devedition-nightly/opt:
|
|||
run:
|
||||
using: mozharness
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
options: [enable-pgo, append-env-variables-from-configs]
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_windows_32_opt.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/opt.py
|
||||
- disable_signing.py
|
||||
- taskcluster_nightly.py
|
||||
custom-build-variant-cfg: devedition
|
||||
|
|
|
@ -92,10 +92,12 @@ jobs:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_win32_clang_debug.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/clang_debug.py
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
- win32-rust
|
||||
|
@ -117,10 +119,12 @@ jobs:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
|
||||
run:
|
||||
using: mozharness
|
||||
options: [append-env-variables-from-configs]
|
||||
script: mozharness/scripts/fx_desktop_build.py
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/taskcluster_firefox_win32_clang.py
|
||||
- builds/taskcluster_base_win32.py
|
||||
- builds/taskcluster_sub_win32/clang.py
|
||||
toolchains:
|
||||
- win32-clang-cl
|
||||
- win32-rust
|
||||
|
|
|
@ -2,25 +2,10 @@ import os
|
|||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
'update',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
|
@ -33,14 +18,10 @@ config = {
|
|||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32',
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
|
@ -65,6 +46,4 @@ config = {
|
|||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'nightly',
|
||||
#########################################################################
|
||||
}
|
|
@ -1,71 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': True,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
'perfherder_extra_options': ['static-analysis'],
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-st-an',
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'clang',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
#########################################################################
|
||||
}
|
|
@ -1,73 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': True,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
'perfherder_extra_options': ['static-analysis'],
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-st-an-debug',
|
||||
'debug_build': True,
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'clang-debug',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
#########################################################################
|
||||
}
|
|
@ -1,74 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
# - taskcluster_firefox_win32_noopt_debug
|
||||
# - taskcluster_firefox_win64_noopt_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': True,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-noopt-debug',
|
||||
'debug_build': True,
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'noopt-debug',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
#########################################################################
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': True,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-rusttests',
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'rusttests',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
#########################################################################
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': False,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT 5.2 add-on-devel %(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-add-on-devel',
|
||||
'publish_nightly_en_US_routes': False,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': '32',
|
||||
'mozconfig_variant': 'add-on-devel',
|
||||
#########################################################################
|
||||
}
|
|
@ -1,71 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
config = {
|
||||
#########################################################################
|
||||
######## WINDOWS GENERIC CONFIG KEYS/VAlUES
|
||||
# if you are updating this with custom 32 bit keys/values please add them
|
||||
# below under the '32 bit specific' code block otherwise, update in this
|
||||
# code block and also make sure this is synced between:
|
||||
# - taskcluster_firefox_win32_debug
|
||||
# - taskcluster_firefox_win32_opt
|
||||
# - taskcluster_firefox_win64_debug
|
||||
# - taskcluster_firefox_win64_opt
|
||||
# - taskcluster_firefox_win32_clang
|
||||
# - taskcluster_firefox_win32_clang_debug
|
||||
# - taskcluster_firefox_win64_clang
|
||||
# - taskcluster_firefox_win64_clang_debug
|
||||
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
],
|
||||
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
|
||||
# decides whether we want to use moz_sign_cmd in env
|
||||
'enable_signing': True,
|
||||
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'tooltool_script': [
|
||||
sys.executable,
|
||||
os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
|
||||
],
|
||||
'tooltool_bootstrap': 'setup.sh',
|
||||
'enable_count_ctors': False,
|
||||
'max_build_output_timeout': 60 * 80,
|
||||
#########################################################################
|
||||
|
||||
|
||||
#########################################################################
|
||||
###### 32 bit specific ######
|
||||
'base_name': 'WINNT_5.2_%(branch)s',
|
||||
'platform': 'win32',
|
||||
'stage_platform': 'win32-debug',
|
||||
'debug_build': True,
|
||||
'publish_nightly_en_US_routes': True,
|
||||
'env': {
|
||||
'BINSCOPE': os.path.join(
|
||||
os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
|
||||
),
|
||||
'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
|
||||
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_OBJDIR': '%(abs_obj_dir)s',
|
||||
'PDBSTR_PATH': 'C:/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
"check_test_env": {
|
||||
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s\\breakpad\\win32\\minidump_stackwalk.exe',
|
||||
'MINIDUMP_SAVE_PATH': os.path.join(os.getcwd(), 'public', 'build'),
|
||||
},
|
||||
'mozconfig_platform': 'win32',
|
||||
'mozconfig_variant': 'debug',
|
||||
#########################################################################
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
config = {
|
||||
# decides whether we want to use moz_sign_cmd in en+
|
||||
'enable_signing': False,
|
||||
'base_name': 'WINNT 5.2 add-on-devel %(branch)s',
|
||||
'stage_platform': 'win32-add-on-devel',
|
||||
'publish_nightly_en_US_routes': False,
|
||||
'mozconfig_variant': 'add-on-devel',
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
config = {
|
||||
'perfherder_extra_options': ['static-analysis'],
|
||||
'stage_platform': 'win32-st-an',
|
||||
'mozconfig_variant': 'clang',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
config = {
|
||||
'perfherder_extra_options': ['static-analysis'],
|
||||
'stage_platform': 'win32-st-an-debug',
|
||||
'debug_build': True,
|
||||
'env': {
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
},
|
||||
'mozconfig_variant': 'clang-debug',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
config = {
|
||||
'stage_platform': 'win32-debug',
|
||||
'debug_build': True,
|
||||
'env': {
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
},
|
||||
'mozconfig_variant': 'debug',
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
config = {
|
||||
'stage_platform': 'win32-noopt-debug',
|
||||
'debug_build': True,
|
||||
'env': {
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
},
|
||||
'mozconfig_variant': 'noopt-debug',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
config = {
|
||||
'default_actions': [
|
||||
'clone-tools',
|
||||
'build',
|
||||
'check-test',
|
||||
'update',
|
||||
],
|
||||
'stage_platform': 'win32',
|
||||
'mozconfig_variant': 'nightly',
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
config = {
|
||||
'stage_platform': 'win32-rusttests',
|
||||
'mozconfig_variant': 'rusttests',
|
||||
'artifact_flag_build_variant_in_try': None,
|
||||
}
|
|
@ -308,6 +308,11 @@ class BaseConfig(object):
|
|||
"keys/values that were not overwritten by another cfg -- "
|
||||
"held the highest hierarchy."
|
||||
)
|
||||
self.config_parser.add_option(
|
||||
"--append-env-variables-from-configs", action="store_true",
|
||||
dest="append_env_variables_from_configs",
|
||||
help="Merge environment variables from config files."
|
||||
)
|
||||
|
||||
# Logging
|
||||
log_option_group = OptionGroup(self.config_parser, "Logging")
|
||||
|
@ -489,7 +494,8 @@ class BaseConfig(object):
|
|||
options.config_files + options.opt_config_files, options=options
|
||||
))
|
||||
config = {}
|
||||
if self.append_env_variables_from_configs:
|
||||
if (self.append_env_variables_from_configs
|
||||
or options.append_env_variables_from_configs):
|
||||
# We only append values from various configs for the 'env' entry
|
||||
# For everything else we follow the standard behaviour
|
||||
for i, (c_file, c_dict) in enumerate(self.all_cfg_files_and_dicts):
|
||||
|
|
Загрузка…
Ссылка в новой задаче