From c38a44d19232db5523c6c8ce84937fe7ec383d11 Mon Sep 17 00:00:00 2001 From: Twarit Waikar Date: Tue, 9 Aug 2022 03:50:00 +0530 Subject: [PATCH] Extract OpenSSL libs from CI --- .github/workflows/build.yml | 1 + build_openssl_universal_osx.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5f855f..05ad9fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,7 @@ jobs: ./build_openssl_universal_osx.sh scons platform=osx target=release bits=64 godot_cpp=yes generate_bindings=yes use_custom_api_file=yes custom_api_file=api.ci.json macos_arch=universal macos_deployment_target=10.13 use_llvm=yes -j $(sysctl -n hw.logicalcpu) otool -L demo/addons/godot-git-plugin/osx/libgitapi.dylib + cp -r thirdparty/openssl/ demo/ - uses: actions/upload-artifact@v2 with: name: godot-git-plugin-macos-release-x64-${{ github.sha }} diff --git a/build_openssl_universal_osx.sh b/build_openssl_universal_osx.sh index bbece10..e8bb1ca 100644 --- a/build_openssl_universal_osx.sh +++ b/build_openssl_universal_osx.sh @@ -15,7 +15,6 @@ cd openssl_x86_64 ./Configure darwin64-x86_64-cc -mmacosx-version-min=10.13 make cd ../ -pwd lipo -create openssl_arm64/libcrypto.a openssl_x86_64/libcrypto.a -output thirdparty/openssl/libcrypto.a lipo -create openssl_arm64/libssl.a openssl_x86_64/libssl.a -output thirdparty/openssl/libssl.a rm openssl-$OPENSSL_VERSION.tar.gz