Skip to content

Commit

Permalink
Add dependency-version check for Capstone
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 27, 2023
1 parent a8223c8 commit 01579fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/dependency-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,11 @@ jobs:
res=1
fi
current=$(awk 'match($0,/set\(_min_version (.+)\)/,a){print a[1]}' cmake/tpls/DyninstCapstone.cmake)
expected=$(awk 'match($0,/capstone:(.+)/,a){print a[1]}' docker/dependencies.versions)
if test "$current" != "$expected"; then
echo "Capstone mismatch: Found $current, expected $expected" >/dev/stderr
res=1
fi
exit $res
3 changes: 2 additions & 1 deletion docker/dependencies.versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
boost:1.71.0
tbb:2019.9
elfutils:0.186
cmake:3.14.0
cmake:3.14.0
capstone:5.0

0 comments on commit 01579fc

Please sign in to comment.