ci: fix the upload distribution step on VSTS (#15015)
* ci: fix the upload distribution step on VSTS * ci: fix get_electron_exec() * ci: define "CI" env variable
This commit is contained in:
parent
5416051e36
commit
7866575385
5 changed files with 32 additions and 18 deletions
|
@ -6,7 +6,7 @@ import sys
|
|||
|
||||
from lib.config import PLATFORM, enable_verbose_mode, is_verbose_mode
|
||||
from lib.util import get_electron_branding, execute, rm_rf, get_out_dir, \
|
||||
GN_SRC_DIR
|
||||
SRC_DIR
|
||||
|
||||
ELECTRON_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
SOURCE_ROOT = os.path.abspath(os.path.dirname(ELECTRON_ROOT))
|
||||
|
@ -51,7 +51,7 @@ def main():
|
|||
args += ['-v']
|
||||
#Make sure msdia140.dll is in the path (needed for dump_syms.exe)
|
||||
env = os.environ.copy()
|
||||
msdia140_dll_path = os.path.join(GN_SRC_DIR, 'third_party', 'llvm-build',
|
||||
msdia140_dll_path = os.path.join(SRC_DIR, 'third_party', 'llvm-build',
|
||||
'Release+Asserts', 'bin')
|
||||
env['PATH'] = os.path.pathsep.join(
|
||||
[env.get('PATH', '')] + [msdia140_dll_path])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue