Skip to content

Commit c015f74

Browse files
committed
CI: get new location of libR.so via find
Change-Id: I2aadc66a2244bed3ae7520e62920a1e1118dddca
1 parent a72fadc commit c015f74

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
if: "!startsWith(matrix.os, 'windows')"
3131
run: |
3232
echo "VENV_ACTIVATE=source pyenv_base/bin/activate" >> $GITHUB_ENV
33+
echo "LD_LIBRARY_PATH=$(dirname $(find / -name libR.so)):${LD_LIBRARY_PATH}" >> $GITHUB_ENV
3334
echo "R_LIBRARY=export LD_LIBRARY_PATH=$(python -m rpy2.situation LD_LIBRARY_PATH):${LD_LIBRARY_PATH}" >> $GITHUB_ENV
3435
- name: Set virtualenv activation command (Windows)
3536
if: startsWith(matrix.os, 'windows')

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ test-korapclient:
1313
- mkdir -p ~/.config/pip
1414
- echo -e "[global]\nbreak-system-packages = true" >> ~/.config/pip/pip.conf
1515
- python3 -m pip install pytest
16+
- export LD_LIBRARY_PATH=$(dirname $(find / -name libR.so)):$LD_LIBRARY_PATH
17+
- echo $LD_LIBRARY_PATH
1618
- python3 -m pip install .
1719
- python3 -m pytest -v

0 commit comments

Comments
 (0)