mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 02:19:06 +08:00
Update abi-check.sh to compare 0.16 and 0.18
This commit is contained in:
14
abi-check.sh
14
abi-check.sh
@@ -1,14 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
prev=0.17
|
# The 0.17 release is broken
|
||||||
|
#prev=0.17
|
||||||
|
prev=0.16
|
||||||
release=0.18
|
release=0.18
|
||||||
|
|
||||||
# ... clone json-c, abi-compliance-checker, abi-dumper
|
# ... clone json-c, abi-compliance-checker, abi-dumper
|
||||||
|
|
||||||
mkdir build
|
if [ "$1" != "--skip-build" ] ; then
|
||||||
cd build
|
mkdir build
|
||||||
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
|
cd build
|
||||||
make && make test && make install
|
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
|
||||||
|
make && make test && make install
|
||||||
|
fi
|
||||||
|
|
||||||
# Assume the old version has already been built
|
# Assume the old version has already been built
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user