From 7ebdc4ddf8e099bc18680ca8bdc62ec1ca5e63f3 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 15 Sep 2024 16:10:57 +0000 Subject: [PATCH] Update abi-check.sh to compare 0.16 and 0.18 --- abi-check.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/abi-check.sh b/abi-check.sh index ab829f3..ed71468 100644 --- a/abi-check.sh +++ b/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