mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Set DISPLAY in CI machine
This commit is contained in:
@@ -43,9 +43,11 @@ def main():
|
||||
deps += LINUX_DEPS_ARM
|
||||
execute(['sudo', 'apt-get', 'install'] + deps)
|
||||
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'external_binaries'))
|
||||
|
||||
Reference in New Issue
Block a user