mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use DISPLAY=:99.0 on Linux CI
This commit is contained in:
committed by
Aleksei Kuzmin
parent
ddefc08ec5
commit
23b35af7f2
@@ -62,8 +62,9 @@ def main():
|
||||
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
|
||||
# CI's npm is not reliable.
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
|
||||
Reference in New Issue
Block a user