Skip to content

Commit

Permalink
Clean up Linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Dec 5, 2024
1 parent 0f7c380 commit b808664
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ jobs:
cmake -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
cmake --build .
cmake --install .
sudo ldconfig
popd
popd
nm -gD $CONDA_PREFIX/lib/libsbcl_librarian.so
gcc -Wall -o example example.c -lcalc -lsbcl_librarian -lsbcl
# echo "(+ 1 2)" | LD_LIBRARY_PATH="$LIBSBCL_PATH:$CONDA_PREFIX/lib" ./example | tr -d '\n' | grep "> 3> "
echo "(+ 1 2)" | LD_LIBRARY_PATH="$LIBSBCL_PATH:$CONDA_PREFIX/lib" LD_DEBUG=libs python ./example.py | tr -d '\n' | grep "> 3> "
LD_LIBRARY_PATH="$LIBSBCL_PATH:$CONDA_PREFIX/lib" python ./exhaust_heap.py | grep "returned to Python after heap exhaustion (attempt 1)"
echo "(+ 1 2)" | ./example | tr -d '\n' | grep "> 3> "
echo "(+ 1 2)" | python ./example.py | tr -d '\n' | grep "> 3> "
python ./exhaust_heap.py | grep "returned to Python after heap exhaustion (attempt 1)"

0 comments on commit b808664

Please sign in to comment.