Skip to content

Commit

Permalink
export variables for linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoohafkan committed Dec 19, 2023
1 parent 1fadf80 commit 1566ad6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ jobs:
7z x '${{ runner.temp }}/.hdfqlr/HDFql.zip' \
-o'${{ runner.temp }}/.hdfqlr' -y
echo "HDFQL_DIR=${{ runner.temp }}/.hdfqlr/hdfql-2.1.0" >> $GITHUB_ENV
echo '${{ runner.temp }}/.hdfqlr'
ls -R '${{ runner.temp }}/.hdfqlr'
if [ "$RUNNER_OS" == "Linux" ]; then
export LD_LIBRARY_PATH=$HDFQL_DIR/wrapper/R:$HDFQL_DIR/lib:$LD_LIBRARY_PATH
elif [ "$RUNNER_OS" == "macOS" ]; then
export DYLD_LIBRARY_PATH=$HDFQL_DIR/wrapper/R:$HDFQL_DIR/lib:$DYLD_LIBRARY_PATH
fi
ls -l $HDFQL_DIR
shell: bash

- uses: r-lib/actions/check-r-package@v2
Expand Down

0 comments on commit 1566ad6

Please sign in to comment.