Skip to content

build_application

build_application #971

Workflow file for this run

on: [push, pull_request,repository_dispatch]
defaults:
run:
shell: bash
jobs:
R:
name: R
runs-on: macos-latest
env:
GEN: ninja
steps:
- name: Install Ninja
run: brew install ninja
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Update DuckDB submodule
run: |
git config --global --add safe.directory '*'
make pull
- name: Install R Dependencies
env:
GITHUB_PAT: ${{ github.token }}
run: |
(cd duckdb/tools/rpkg && R -f dependencies.R)
- name: Build Extension
run: |
make release
- name: Build DuckDB (R)
run: |
cd duckdb/tools/rpkg
./configure
R CMD build .
R CMD INSTALL -d duckdb_*.tar.gz
- name: Test R
run: |
(cd test/r && R -f test_substrait.R)