Skip to content

Commit

Permalink
download HDFql in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoohafkan committed Dec 19, 2023
1 parent bc557b2 commit 0c33915
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Download HDFql
run: |
mkdir -p '${{ runner.temp }}/.hdfqlr/'
if [ "$RUNNER_OS" == "Linux" ]; then
curl -o '${{ runner.temp }}/.hdfqlr/HDFql.zip' \
https://www.hdfql.com/releases/2.1.0/HDFql-2.1.0_Linux64_GCC-4.9.zip
elif [ "$RUNNER_OS" == "Windows" ]; then
curl -o '${{ runner.temp }}/.hdfqlr/HDFql.zip' \
https://www.hdfql.com/releases/2.1.0/HDFql-2.1.0_Windows64_VS-2015.zip
elif [ "$RUNNER_OS" == "macOS" ]; then
curl -o '${{ runner.temp }}/.hdfqlr/HDFql.zip' \
https://www.hdfql.com/releases/2.1.0/HDFql-2.1.0_Darwin64_GCC-4.9.zip
else
echo "$RUNNER_OS not supported"
exit 1
fi
7z e '${{ runner.temp }}/.hdfqlr/HDFql.zip' \
-o'${{ runner.temp }}/.hdfqlr'
echo "HDFQL_DIR=${{ runner.temp }}/.hdfqlr/hdfql-2.1.0" >> $GITHUB_ENV
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

0 comments on commit 0c33915

Please sign in to comment.