ci: assert no library missing

This commit is contained in:
Kevin Yue 2022-10-30 21:48:39 +08:00
parent c3939a774b
commit 2761f7521a
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,8 @@ jobs:
- name: Build - name: Build
run: | run: |
./scripts/install-ubuntu.sh ./scripts/install-ubuntu.sh
gpclient --version # assert no library missing
test $(ldd $(which gpclient) | grep 'not found' | wc -l) -eq 0
snapshot-archive-all: snapshot-archive-all:
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }} if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }}

View File

@ -29,4 +29,5 @@ jobs:
- name: Build - name: Build
run: | run: |
./scripts/install-ubuntu.sh ./scripts/install-ubuntu.sh
gpclient --version # assert no library missing
test $(ldd $(which gpclient) | grep 'not found' | wc -l) -eq 0