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 Pellegrini
2025-11-19 13:23:02 -03:00
committed by George Sapkin
parent 97b7ff2f46
commit e00c01fd7d

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