Skip to content

Commit 17ff863

Browse files
committed
CI: Compare only undefined and text global symbols
1 parent 71efc89 commit 17ff863

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- name: Meson - Install
4141
run: |
4242
DESTDIR="$(pwd)/_work/meson/prefix" ninja -C _work/meson/build install
43-
nm -D _work/meson/build/libwpe-1.0.so | sort -u > _work/meson/symbols
43+
nm -D -P _work/meson/build/libwpe-1.0.so \
44+
| awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
45+
> _work/meson/symbols
4446
(cd _work/meson/prefix && find lib -type f | sort) > _work/meson/files
4547
- name: Meson - Archive Artifacts
4648
uses: actions/upload-artifact@v1
@@ -57,7 +59,9 @@ jobs:
5759
- name: CMake - Install
5860
run: |
5961
DESTDIR="$(pwd)/_work/cmake/prefix" make -C _work/cmake/build install
60-
nm -D _work/cmake/build/libwpe-1.0.so | sort -u > _work/cmake/symbols
62+
nm -D -P _work/cmake/build/libwpe-1.0.so \
63+
| awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
64+
> _work/cmake/symbols
6165
(cd _work/cmake/prefix && find lib -type f | sort) > _work/cmake/files
6266
- name: CMake - Archive Artifacts
6367
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)