ci: Initial CI

This commit is contained in:
Kenny Levinsen 2020-07-31 00:23:15 +02:00
parent 3b32bd539b
commit 1dbd920307
4 changed files with 119 additions and 0 deletions

21
.builds/smoketest-builtin.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/sh
res=0
#
# Run simpletest a few times
#
cnt=0
while [ "$cnt" -lt 5 ]
do
echo "Simpletest run $cnt"
if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest
then
echo "Simpletest failed"
res=1
break
fi
cnt=$((cnt+1))
done
exit $res