70
70
python scripts/gha/install_prereqs_desktop.py
71
71
cd ..
72
72
73
- - name : Install swig (Linux)
74
- if : startsWith(matrix.os, 'ubuntu')
75
- run : |
76
- sudo apt-get remove -y swig
77
- sudo apt-get remove -y swig4.0
78
- sudo apt-get install -y swig3.0
79
- alias swig='swig3.0'
80
-
81
- # TODO: Change the swig versions installed on Mac and Windows
82
- - name : Install swig (Mac & Windows)
83
- if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'windows')
84
- run : |
85
- swig -version
86
-
87
73
# Set up the requirements, and install Unity
88
74
- uses : ruby/setup-ruby@v1
89
75
with :
@@ -104,6 +90,17 @@ jobs:
104
90
run : |
105
91
echo "UNITY_ROOT_DIR=${{ matrix.unity_install_dir }}" >> $GITHUB_ENV
106
92
93
+ - name : Install OpenSSL (Linux)
94
+ if : startsWith(matrix.os, 'ubuntu')
95
+ run : |
96
+ sudo apt install openssl
97
+ - name : Install OpenSSL (macOS)
98
+ if : startsWith(matrix.os, 'macos')
99
+ run : |
100
+ brew install openssl
101
+ # brew won't overwrite MacOS system default OpenSSL, so force it here.
102
+ echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl --installed)" >> $GITHUB_ENV
103
+
107
104
- name : Build SDK (Linux)
108
105
if : startsWith(matrix.os, 'ubuntu')
109
106
shell : bash
0 commit comments