mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix CI detection on azure pipelines
This commit is contained in:
parent
0d4cdeea97
commit
c4ef009bfb
@ -35,8 +35,8 @@ if ismacos:
|
|||||||
setenv('LDFLAGS', '-L$SW/lib')
|
setenv('LDFLAGS', '-L$SW/lib')
|
||||||
setenv('QMAKE', '$SW/qt/bin/qmake')
|
setenv('QMAKE', '$SW/qt/bin/qmake')
|
||||||
setenv('QTWEBENGINE_DISABLE_SANDBOX', '1')
|
setenv('QTWEBENGINE_DISABLE_SANDBOX', '1')
|
||||||
old = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', '')
|
|
||||||
setenv('QT_PLUGIN_PATH', '$SW/qt/plugins')
|
setenv('QT_PLUGIN_PATH', '$SW/qt/plugins')
|
||||||
|
old = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', '')
|
||||||
if old:
|
if old:
|
||||||
old += ':'
|
old += ':'
|
||||||
setenv('DYLD_FALLBACK_LIBRARY_PATH', old + '$SW/lib')
|
setenv('DYLD_FALLBACK_LIBRARY_PATH', old + '$SW/lib')
|
||||||
@ -107,6 +107,7 @@ def main():
|
|||||||
run_python('setup.py bootstrap --ephemeral')
|
run_python('setup.py bootstrap --ephemeral')
|
||||||
|
|
||||||
elif action == 'test':
|
elif action == 'test':
|
||||||
|
os.environ['CI'] = 'true'
|
||||||
if ismacos:
|
if ismacos:
|
||||||
os.environ['SSL_CERT_FILE'
|
os.environ['SSL_CERT_FILE'
|
||||||
] = os.path.abspath('resources/mozilla-ca-certs.pem')
|
] = os.path.abspath('resources/mozilla-ca-certs.pem')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user