Skip to content

Commit

Permalink
CI: Compare only undefined and text global symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
aperezdc committed Mar 12, 2020
1 parent 71efc89 commit 17ff863
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
- name: Meson - Install
run: |
DESTDIR="$(pwd)/_work/meson/prefix" ninja -C _work/meson/build install
nm -D _work/meson/build/libwpe-1.0.so | sort -u > _work/meson/symbols
nm -D -P _work/meson/build/libwpe-1.0.so \
| awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
> _work/meson/symbols
(cd _work/meson/prefix && find lib -type f | sort) > _work/meson/files
- name: Meson - Archive Artifacts
uses: actions/upload-artifact@v1
Expand All @@ -57,7 +59,9 @@ jobs:
- name: CMake - Install
run: |
DESTDIR="$(pwd)/_work/cmake/prefix" make -C _work/cmake/build install
nm -D _work/cmake/build/libwpe-1.0.so | sort -u > _work/cmake/symbols
nm -D -P _work/cmake/build/libwpe-1.0.so \
| awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
> _work/cmake/symbols
(cd _work/cmake/prefix && find lib -type f | sort) > _work/cmake/files
- name: CMake - Archive Artifacts
uses: actions/upload-artifact@v1
Expand Down

0 comments on commit 17ff863

Please sign in to comment.