Skip to content

Commit

Permalink
check shared library build with a make install
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Oct 2, 2023
1 parent 75353f2 commit 03ebfa4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Linux_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,13 @@ jobs:
cd $GITHUB_WORKSPACE/g2/build
ctest --verbose --rerun-failed --output-on-failure
- name: check_shared
if: ${{ matrix.options }} = "-DENABLE_SHARED=ON"
- name: check_install
run: |
cd $GITHUB_WORKSPACE/g2/build
make install
ls -l ~/g2/install/lib*.so || exit 1
if [ "${{ matrix.options }}" = "-DENABLE_SHARED=ON" ]; then
ls -l ~/g2/install/lib*.so || exit 1
fi
Expand Down

0 comments on commit 03ebfa4

Please sign in to comment.