Skip to content

Commit

Permalink
Debug echos
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Jun 25, 2024
1 parent 5b0ebf4 commit cc807ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
CL_SOURCE_REGISTRY: "${{ github.workspace }}//"
run: |
$SBCL_SRC/run-sbcl.sh --script script.lisp
echo "building libcalc.dylib"
gcc -Wall -fPIC -shared -o libcalc.dylib libcalc.c -lsbcl
echo "building example"
gcc -Wall -o example example.c -lcalc -lsbcl
echo "(+ 1 2)" | ./example | tr -d '\n' | grep "> 3> "
echo "(+ 1 2)" | python3 ./example.py | tr -d '\n' | grep "> 3> "
Expand Down

0 comments on commit cc807ff

Please sign in to comment.