Skip to content

Commit

Permalink
ci workflow: DYLD_FALLBACK_LIBRARY_PATH env added
Browse files Browse the repository at this point in the history
  • Loading branch information
JupiterRider committed Aug 13, 2024
1 parent 2dbda88 commit 9dafd57
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/run_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ jobs:
run: |
brew update
brew install libffi
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/homebrew/opt/libffi/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/homebrew/opt/libffi/lib
ls -lah /opt/homebrew/opt/libffi/lib
- name: Run example
run: |
echo $LD_LIBRARY_PATH
echo $DYLD_LIBRARY_PATH
go run examples/simple/cos/main_unix.go
run: go run examples/simple/cos/main_unix.go
env:
DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/opt/libffi/lib

0 comments on commit 9dafd57

Please sign in to comment.