From: <al...@us...> - 2023-03-19 18:41:15
|
This is an automated email from the git hooks/post-receive-user script. allura pushed a commit to branch master in repository libspectrum. View the commit online: https://sourceforge.net/p/fuse-emulator/libspectrum/ci/cebf59647d060cd8a46b3395b54e139bbb8d54db/ commit cebf59647d060cd8a46b3395b54e139bbb8d54db Author: Miroslav Ďurčík / Arki55 <mir...@gm...> AuthorDate: Sun Feb 5 16:34:29 2023 +0100 build: Supporting bash script for github workflows, used to verify if output from configure script contains certain text. --- .github/scripts/in_config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/scripts/in_config.sh b/.github/scripts/in_config.sh new file mode 100755 index 0000000..d3d03e7 --- /dev/null +++ b/.github/scripts/in_config.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo -n "Verify configure line '$1' .. " +lines1=(`cat "./configure.out" | grep -c "$1"`) +if [[ "$lines1" -lt "1" ]]; then + echo "NOT FOUND" + exit 1 +fi +echo "OK" |