mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-03 10:09:43 +03:00
Build universal OpenSSL fat library
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -49,8 +49,10 @@ jobs:
|
||||
- name: build-macos-release-x64
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
brew install scons openssl@1.1
|
||||
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=x86_64 use_llvm=yes -j $(sysctl -n hw.logicalcpu)
|
||||
chmod +x build_openssl_arm64_osx.sh
|
||||
./build_openssl_arm64_osx.sh
|
||||
brew install scons
|
||||
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_openssl_static_ssl="libssl.a" macos_openssl_static_crypto="libcrypto.a" use_llvm=yes -j $(sysctl -n hw.logicalcpu)
|
||||
otool -L demo/addons/godot-git-plugin/osx/libgitapi.dylib
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
@@ -58,3 +60,5 @@ jobs:
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
demo/
|
||||
libssl.a
|
||||
libcrypto.a
|
||||
|
||||
Reference in New Issue
Block a user