mirror of
https://github.com/json-c/json-c.git
synced 2026-03-19 21: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
|
||||
|
||||
prev=0.17
|
||||
# The 0.17 release is broken
|
||||
#prev=0.17
|
||||
prev=0.16
|
||||
release=0.18
|
||||
|
||||
# ... clone json-c, abi-compliance-checker, abi-dumper
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
|
||||
make && make test && make install
|
||||
if [ "$1" != "--skip-build" ] ; then
|
||||
mkdir build
|
||||
cd build
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user