projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
76fa5c5
)
Update ABI tracker from 2.1 to 2.1.1
author
mayeut
<mayeut@users.noreply.github.com>
Tue, 5 Jul 2016 21:53:31 +0000
(23:53 +0200)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 13 Sep 2016 09:00:07 +0000
(11:00 +0200)
tools/travis-ci/abi-check.sh
patch
|
blob
|
history
diff --git
a/tools/travis-ci/abi-check.sh
b/tools/travis-ci/abi-check.sh
index 148dbe4051b3cbad8753389d7dc9d55bb61d840b..f9c6732ee8f173031e275d5cf2490ae35513667a 100755
(executable)
--- a/
tools/travis-ci/abi-check.sh
+++ b/
tools/travis-ci/abi-check.sh
@@
-14,8
+14,9
@@
if [ "${OPJ_CI_ABI_CHECK:-}" != "1" ]; then
fi
OPJ_UPLOAD_ABI_REPORT=0
fi
OPJ_UPLOAD_ABI_REPORT=0
+OPJ_PREVIOUS_VERSION="2.1"
OPJ_LATEST_VERSION="2.1.1"
OPJ_LATEST_VERSION="2.1.1"
-OPJ_LIMIT_ABI_BUILDS="-limit
2
"
+OPJ_LIMIT_ABI_BUILDS="-limit
3
"
OPJ_REPO="https://github.com/uclouvain/openjpeg.git"
OPJ_SSH_REPO=${OPJ_REPO/https:\/\/github.com\//git@github.com:}
OPJ_UPLOAD_BRANCH="gh-pages"
OPJ_REPO="https://github.com/uclouvain/openjpeg.git"
OPJ_SSH_REPO=${OPJ_REPO/https:\/\/github.com\//git@github.com:}
OPJ_UPLOAD_BRANCH="gh-pages"
@@
-81,10
+82,12
@@
EXIT_CODE=0
# Check API
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -api -s || EXIT_CODE=1
# Check API
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -api -s || EXIT_CODE=1
+abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_PREVIOUS_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -header openjpeg.h -api -s || EXIT_CODE=1
# Check ABI
if [ "${OPJ_LIMIT_ABI_BUILDS}" != "" ]; then
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -abi -s || EXIT_CODE=1
# Check ABI
if [ "${OPJ_LIMIT_ABI_BUILDS}" != "" ]; then
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -abi -s || EXIT_CODE=1
+ abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_PREVIOUS_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -header openjpeg.h -abi -s || EXIT_CODE=1
else
echo "Disable ABI check for now, problems with symbol visibility..."
fi
else
echo "Disable ABI check for now, problems with symbol visibility..."
fi