chicken-scheme: add CI test script

Check csi version and check if csc can compile a simple s-expression.

Co-authored-by: George Sapkin <george@sapk.in>
Signed-off-by: Jeronimo Pellegrini <j_p@aleph0.info>
This commit is contained in:
Jeronimo PellegriniandGeorge Sapkin authored and George Sapkin committed 2025-12-22 14:56:48 +02:00
1 parent 97b7ff2f46
commit e00c01fd7d
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
case "$1" in
chicken-scheme-full)
# Send an S-expression to its standard input
if ! echo '(+ 2 3)' | csc -; then
echo 'csc cannot compile a S-expression from standard input'
exit 1
fi
;;
chicken-scheme-interpreter)
csi -version 2>&1 | grep -F "$2"
;;
esac