ref: af2a8bee279100324cb5aabdf6e3d94d3c28018a
parent: 7398f083b6d798843f6fda6136be433c00e5c6e3
author: Henrik Gramner <gramner@twoorioles.com>
date: Tue May 7 13:33:37 EDT 2019
ci: Check for unprefixed global symbols
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,6 +55,7 @@
- meson build --buildtype release --default-library static --werror
- ninja -C build
- cd build && meson test -v
+ - nm -A -g src/libdav1d.a | grep " [ABCDGRST] " | (! grep -v " _*dav1d_")
build-debian32:
image: registry.videolan.org:5000/dav1d-debian-unstable:20181218135732
@@ -86,6 +87,7 @@
- ninja -C build
- ninja -C build install
- cd build && meson test -v
+ - i686-w64-mingw32-nm -A -g src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_")
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
@@ -124,6 +126,7 @@
- ninja -C build
- ninja -C build install
- cd build && meson test -v
+ - x86_64-w64-mingw32-nm -A -g src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_")
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
@@ -144,6 +147,7 @@
--cross-file /opt/crossfiles/armv7-w64-mingw32.meson
-Ddefault_library=both
- ninja -C build
+ - armv7-w64-mingw32-nm -A -g build/src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_")
build-win-arm64:
image: registry.videolan.org:5000/vlc-debian-llvm-mingw:20190218133533
@@ -160,6 +164,7 @@
-Ddefault_library=both
- ninja -C build
- ninja -C build install
+ - aarch64-w64-mingw32-nm -A -g build/src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_")
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: