Skip to content

Commit

Permalink
workflows lib vs lib64 on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 7, 2024
1 parent a1f226a commit 5b69fea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/vcpkg-linux-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,10 @@ jobs:
working-directory: >-
../HelloWorld-TinyDrivers-FetchContent-Install/${{ matrix.build-type.name }}/bin
run: |
export LD_LIBRARY_PATH='../lib'${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH"
# This is enough for use to distinguish between Ubuntu, Fedora, or Gentoo
[ -r /etc/debian_version ] && libFolder='lib' || libFolder='lib64'
export LD_LIBRARY_PATH="../$libFolder"${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH"
./HelloWorld-TinyDrivers
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/vcpkg-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,10 @@ jobs:
- name: HelloWorld execute (SQLite) 🏁
working-directory: ../HelloWorld-FetchContent-Install/${{ matrix.build-type.name }}/bin
run: |
export LD_LIBRARY_PATH='../lib'${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH"
# This is enough for use to distinguish between Ubuntu, Fedora, or Gentoo
[ -r /etc/debian_version ] && libFolder='lib' || libFolder='lib64'
export LD_LIBRARY_PATH="../$libFolder"${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH"
./HelloWorld
env:
Expand Down

0 comments on commit 5b69fea

Please sign in to comment.