Clone external projects for CI

This commit is contained in:
2023-04-28 09:04:11 -06:00
parent b000d0a750
commit e198adfd39

View File

@@ -4,6 +4,9 @@ KISS_PROJECT=${KISS_PROJECT:-$1}
KISS_PROJECT=${KISS_PROJECT:-bad-nlp}
if [ -n "$CI_OS_NAME" ]; then
if [ ! -d projects/$KISS_PROJECT ]; then
(cd projects && git clone https://github.com/kiss-lang/$project)
fi
(cd projects/$KISS_PROJECT && lix download)
fi
(cd projects/$KISS_PROJECT && ./test.sh "${@:2}")