Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add package caching, preinstalling custom duckdb for CI #96

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
# Note, if ubuntu-latest changes to a different release, we will need to
env:
# Note, if ubuntu-latest changes to a different release, we will need to
# swap `focal` below to what that new name is for that release.
RSPM: "https://packagemanager.rstudio.com/all/__linux__/focal/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -36,8 +36,15 @@ jobs:
- name: Install libcurl (for R arrow)
run: |
sudo apt-get -y install libssl-dev libcurl4-openssl-dev
- name: Cache R packages
uses: actions/cache@v2
id: rlibcache
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ hashFiles('setup.py') }}
- name: Install R dependencies
run: |
# install remotes, arrow (nightly), and arrowbench
install.packages('remotes')
install.packages('arrow', repos = c('https://arrow-r-nightly.s3.amazonaws.com', getOption('repos')))
remotes::install_github('ursacomputing/arrowbench')
Expand Down