parent
4f930b6e42
commit
034a792df1
14 changed files with 138 additions and 108 deletions
|
@ -33,7 +33,8 @@ const circleCIJobs = circleCIPublishWorkflows.concat([
|
|||
|
||||
const vstsArmJobs = [
|
||||
'electron-arm-testing',
|
||||
'electron-arm2-testing',
|
||||
'electron-osx-arm64-testing',
|
||||
'electron-mas-arm64-testing',
|
||||
'electron-arm64-testing',
|
||||
'electron-woa-testing'
|
||||
];
|
||||
|
|
|
@ -48,7 +48,7 @@ def main():
|
|||
# FIXME: Enable after ELECTRON_ENABLE_LOGGING works again
|
||||
# env['ELECTRON_ENABLE_LOGGING'] = 'true'
|
||||
testargs = [electron, test_path]
|
||||
if sys.platform == 'win32' and platform.machine() == 'ARM64':
|
||||
if sys.platform != 'linux' and (platform.machine() == 'ARM64' or os.environ.get('TARGET_ARCH') == 'arm64'):
|
||||
testargs.append('--disable-accelerated-video-decode')
|
||||
subprocess.check_call(testargs, env=env)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
|
@ -32,7 +32,10 @@ def main():
|
|||
print('ok mksnapshot successfully created snapshot_blob.bin.')
|
||||
context_snapshot = 'v8_context_snapshot.bin'
|
||||
if platform.system() == 'Darwin':
|
||||
context_snapshot = 'v8_context_snapshot.x86_64.bin'
|
||||
if os.environ.get('TARGET_ARCH') == 'arm64':
|
||||
context_snapshot = 'v8_context_snapshot.arm64.bin'
|
||||
else:
|
||||
context_snapshot = 'v8_context_snapshot.x86_64.bin'
|
||||
context_snapshot_path = os.path.join(app_path, context_snapshot)
|
||||
gen_binary = get_binary_path('v8_context_snapshot_generator', \
|
||||
app_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue