Skip to content

Commit

Permalink
LC_RPATH debug
Browse files Browse the repository at this point in the history
  • Loading branch information
szpajder committed Oct 19, 2024
1 parent 9437288 commit e4fd5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
sudo make install
if [[ "$RUNNER_OS" == "Linux" ]]; then sudo ldconfig; fi
if [[ "$RUNNER_OS" == "macOS" ]]; then sudo update_dyld_shared_cache; fi
if [[ "$RUNNER_OS" == "macOS" ]]; then echo dumpvdl2 LC_RPATH; otool -l /usr/local/bin/dumpvdl2 | grep LC_RPATH; echo libacars LC_ID_DYLIB:; otool -l /usr/local/lib/libacars-2.dylib | grep -A 2 LC_ID_DYLIB; fi
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand All @@ -56,6 +55,7 @@ jobs:

- name: Test run
run: |
if [[ "$RUNNER_OS" == "macOS" ]]; then echo dumpvdl2 LC_RPATH; otool -l /usr/local/bin/dumpvdl2 | grep LC_RPATH; echo libacars LC_ID_DYLIB:; otool -l /usr/local/lib/libacars-2.dylib | grep -A 2 LC_ID_DYLIB; fi
/usr/local/bin/dumpvdl2 ${VDL2_TEST1}
res=$(/usr/local/bin/dumpvdl2 ${VDL2_TEST1} | egrep -c "${VDL2_TEST1_EXPECT}")
if [[ "x$res" = "x" ]]; then false; fi
Expand Down

0 comments on commit e4fd5f8

Please sign in to comment.