Skip to content

Commit b8a1b2b

Browse files
committed
Also ensure openssl is installed by prereqs script.
1 parent 587d96c commit b8a1b2b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/gha/install_prereqs_desktop.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,21 @@ def main():
4444
# Install go on linux/mac if its not installed already
4545
if not utils.is_command_installed('go'):
4646
if utils.is_linux_os():
47-
# sudo apt install protobuf-compiler
47+
# sudo apt install -y golang
4848
utils.run_command(['apt', 'install', '-y','golang'], as_root=True)
4949
elif utils.is_mac_os():
5050
# brew install protobuf
5151
utils.run_command(['brew', 'install', 'go'])
5252

53+
# Install openssl on linux/mac if its not installed already
54+
if not utils.is_command_installed('go'):
55+
if utils.is_linux_os():
56+
# sudo apt install -y openssl
57+
utils.run_command(['apt', 'install', '-y','openssl'], as_root=True)
58+
elif utils.is_mac_os():
59+
# brew install protobuf
60+
utils.run_command(['brew', 'install', 'openssl'])
61+
5362
# Install ccache on linux/mac if its not installed already
5463
if not utils.is_command_installed('ccache'):
5564
if utils.is_linux_os():

0 commit comments

Comments
 (0)