summary refs log tree commit diff stats
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2022-08-23 20:44:50 +0100
committerGitHub <noreply@github.com>2022-08-23 21:44:50 +0200
commit2dcfd732609a2cfa805e5a94cc105399a2f18632 (patch)
tree4b8752a4a96670d84f188ba85ef53fdd61a0dbce /azure-pipelines.yml
parentd1d141b135a605f81935e89322549013e5be3863 (diff)
downloadNim-2dcfd732609a2cfa805e5a94cc105399a2f18632.tar.gz
Add OpenSSL 3 support (#19814)
* Minor refactor

* Add OpenSSL 3 support

Remove symbols noOpenSSLHacksq and openssl10

* Drop loading of older openssl versions

* Add library path

* Use only versioned libssl soname os OSX

* Update .github/workflows/ci_packages.yml

Co-authored-by: Hein Thant <official.heinthanth@gmail.com>

* On Mac OS X CI, link OpenSSL in /usr/local/lib/

* Install OpenSSL on Mac OS X on azure pipeline

* Remove DYLD_LIBRARY_PATH

Co-authored-by: Hein Thant <official.heinthanth@gmail.com>

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Hein Thant <official.heinthanth@gmail.com>
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index bfc58d072..734adbc7e 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -131,6 +131,13 @@ jobs:
       condition: and(succeeded(), eq(variables['skipci'], 'false'), eq(variables['Agent.OS'], 'Darwin'))
 
     - bash: |
+        brew install openssl@1.1
+        ln -s $(brew --prefix)/opt/openssl/lib/libcrypto.1.1.dylib /usr/local/lib
+        ln -s $(brew --prefix)/opt/openssl/lib/libssl.1.1.dylib /usr/local/lib/
+      displayName: 'Install OpenSSL (OSX)'
+      condition: and(succeeded(), eq(variables['skipci'], 'false'), eq(variables['Agent.OS'], 'Darwin'))
+
+    - bash: |
         set -e
         . ci/funs.sh
         nimInternalInstallDepsWindows