ci: enable arm64 macOS tests (#24832)

* ci: enable arm64 macOS tests
This commit is contained in:
John Kleinschmidt 2021-01-21 18:36:52 -05:00 committed by GitHub
parent 4f930b6e42
commit 034a792df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 138 additions and 108 deletions

View file

@ -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: