Update abi-check.sh to compare 0.16 and 0.18

This commit is contained in:
Eric Haszlakiewicz
2024-09-15 16:10:57 +00:00
parent 87900c0a2e
commit 7ebdc4ddf8

View File

@@ -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