Browse Source

Update abi-check.sh to compare 0.16 and 0.18

tags/json-c-0.18-20240915
Eric Haszlakiewicz 1 year ago
parent
commit
7ebdc4ddf8
1 changed files with 9 additions and 5 deletions
  1. +9
    -5
      abi-check.sh

+ 9
- 5
abi-check.sh View File

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



Loading…
Cancel
Save