mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Trevis CI: use commit bench number as a reference
No functional change.
This commit is contained in:
parent
ba15781be8
commit
394e9cd892
1 changed files with 3 additions and 2 deletions
|
@ -47,8 +47,9 @@ script:
|
|||
#
|
||||
# checking bench for various build types
|
||||
#
|
||||
# obtain reference
|
||||
- make clean && make ARCH=x86-64 optimize=no debug=yes build > /dev/null && export benchref=$(../tests/signature.sh)
|
||||
# obtain reference from git log
|
||||
- git log | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed -rn "s/[^0-9]*([0-9]+)/\1/p" > git_sig
|
||||
- export benchref=$(cat git_sig)
|
||||
- echo "Reference bench:" $benchref
|
||||
# verify against reference
|
||||
- make clean && make ARCH=x86-64 build > /dev/null && ../tests/signature.sh $benchref
|
||||
|
|
Loading…
Add table
Reference in a new issue