Skip to content

Commit

Permalink
macOS: Check otool -L output
Browse files Browse the repository at this point in the history
  • Loading branch information
Larhzu committed Dec 27, 2024
1 parent 260d5d3 commit d166d6d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
POSIX:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [macos-latest]
build_system: [autotools, cmake]
runs-on: ${{ matrix.os }}
steps:
Expand Down
18 changes: 18 additions & 0 deletions build-aux/ci_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,14 @@ then

# Build the project
make

echo
echo DEBUG
echo
otool -L src/liblzma/.libs/liblzma.5.dylib
echo
echo DEBUG
echo
;;
cmake)
cd "$DEST_DIR"
Expand All @@ -247,6 +255,16 @@ then
rm -f "CMakeCache.txt"
cmake "$SRC_DIR/CMakeLists.txt" -B "$DEST_DIR" $EXTRA_OPTIONS -DXZ_CHECKS="$CHECK_TYPE" -G "Unix Makefiles"
cmake --build "$DEST_DIR"

echo
echo DEBUG
echo
ls -ld liblzma*
echo
otool -L liblzma.dylib
echo
echo DEBUG
echo
;;
esac
fi
Expand Down

0 comments on commit d166d6d

Please sign in to comment.