Skip to content

Commit 7ebdc4d

Browse files
committed
Update abi-check.sh to compare 0.16 and 0.18
1 parent 87900c0 commit 7ebdc4d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

abi-check.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/sh
22

3-
prev=0.17
3+
# The 0.17 release is broken
4+
#prev=0.17
5+
prev=0.16
46
release=0.18
57

68
# ... clone json-c, abi-compliance-checker, abi-dumper
79

8-
mkdir build
9-
cd build
10-
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
11-
make && make test && make install
10+
if [ "$1" != "--skip-build" ] ; then
11+
mkdir build
12+
cd build
13+
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
14+
make && make test && make install
15+
fi
1216

1317
# Assume the old version has already been built
1418

0 commit comments

Comments
 (0)