Install the same version of OpenSSL as used by python on brew based CI
This commit is contained in:
parent
d4168e3b80
commit
b4d9a22df8
6
.github/workflows/ci.py
vendored
6
.github/workflows/ci.py
vendored
@ -31,7 +31,11 @@ def install_deps():
|
|||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
if is_macos:
|
if is_macos:
|
||||||
items = (x.split()[1].strip('"') for x in open('Brewfile').readlines() if x.strip().startswith('brew '))
|
items = (x.split()[1].strip('"') for x in open('Brewfile').readlines() if x.strip().startswith('brew '))
|
||||||
run('brew', 'install', 'fish', 'openssl', *items)
|
openssl = 'openssl'
|
||||||
|
import ssl
|
||||||
|
if ssl.OPENSSL_VERSION_INFO[0] == 1:
|
||||||
|
openssl += '@1.1'
|
||||||
|
run('brew', 'install', 'fish', openssl, *items)
|
||||||
else:
|
else:
|
||||||
run('sudo apt-get update')
|
run('sudo apt-get update')
|
||||||
run('sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates'
|
run('sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user