Skip to content

Commit

Permalink
Use LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed May 12, 2024
1 parent 9d4a9cf commit 28f01b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
working-directory: examples/libcalc
env:
SBCL_SRC: ${{ github.workspace }}/../sbcl
LD_LIBRARY_PATH: ${{ github.workspace }}/../sbcl/src/runtime:.
LIBRARY_PATH: ${{ github.workspace }}/../sbcl/src/runtime:.
CL_SOURCE_REGISTRY: "${{ github.workspace }}//"
run: |
echo $CL_SOURCE_REGISTRY
pwd
$SBCL_SRC/run-sbcl.sh --script script.lisp
echo $LD_LIBRARY_PATH
gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -lsbcl -L${{ github.workspace }}/../sbcl/src/runtime
gcc -Wall -o example example.c -lsbcl -lcalc -L${{ github.workspace }}/../sbcl/src/runtime -L.
gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -lsbcl
gcc -Wall -o example example.c -lsbcl -lcalc
echo "(+ 1 2)" | ./example

0 comments on commit 28f01b9

Please sign in to comment.