Skip to content

Commit

Permalink
Githubactions: Add debug outputto MacOS release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Oct 30, 2023
1 parent 72fd488 commit 2ea0a0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ jobs:
VERBOSE: 1
run: |
# export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
Expand All @@ -329,7 +328,6 @@ jobs:
env:
VERBOSE: 1
run: |
# export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH
mkdir build-static
cd build-static
cmake -DENABLE_STATIC=ON -DCMAKE_BUILD_TYPE=Release ..
Expand Down
9 changes: 8 additions & 1 deletion resources/release/macos/make_release_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ fi

brew install cmake pkg-config gengetopt help2man openssl


ls /usr/local/opt/openssl
echo "-------------"
ls /usr/local/opt/openssl/include
echo "-------------"
ls $BREW_LIB/openssl/include

export PKG_CONFIG_PATH=$BREW_LIB/openssl/lib/pkgconfig

SOURCE_DIR=$PWD
Expand All @@ -34,7 +41,7 @@ cd $OUTPUT/lib
ln -s "libcrypto.3.dylib" "libcrypto.dylib"
cp "$BREW_LIB/openssl/lib/libcrypto.3.dylib" "$OUTPUT/lib"
chmod +w "$OUTPUT/lib/libcrypto.3.dylib"
cp -r $BREW_CELLAR/openssl/*/include/openssl "$OUTPUT/include"
cp -r $BREW_LIB/openssl/include/openssl "$OUTPUT/include"

install_name_tool -id "@loader_path/../lib/libcrypto.3.dylib" "$OUTPUT/lib/libcrypto.3.dylib"

Expand Down

0 comments on commit 2ea0a0a

Please sign in to comment.