Skip to content

Commit 396e156

Browse files
authored
Configure library path in CI workflow
Add configuration for library path in GitHub Actions. It doesn't work without it
1 parent d2c320c commit 396e156

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/cmake-single-platform.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
# Build your program with the given configuration
3737
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
3838

39+
- name: Configure library path
40+
run: echo "LD_LIBRARY_PATH=$PWD/build:$LD_LIBRARY_PATH" >> $GITHUB_ENV
41+
3942
- name: Ensure library can be loaded
4043
run: sudo ldconfig
4144

0 commit comments

Comments
 (0)