From 7539b88f3a03d615c1cdafe152c47a0b75b61dd5 Mon Sep 17 00:00:00 2001 From: PengZheng Date: Thu, 25 Apr 2024 16:56:06 +0800 Subject: [PATCH] Try to fix libcrypto loading error on macOS. --- .github/workflows/macos.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 05ee8013b..b2a268ac5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -104,8 +104,6 @@ jobs: - name: Test run: | cd $GITHUB_WORKSPACE/build + export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$DYLD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi - cd /usr/local/lib - ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib libcrypto.dylib - cd $GITHUB_WORKSPACE/build ctest --output-on-failure