-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from pdet/update_substrait
Update Substrait from 0.24 to 0.35
- Loading branch information
Showing
7 changed files
with
6,511 additions
and
1,698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,18 +35,40 @@ jobs: | |
run: | | ||
sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build libcurl4-openssl-dev | ||
mkdir -p $HOME/.R | ||
(cd duckdb/tools/rpkg && R -f dependencies.R) | ||
(cd scripts && R -f dependencies.R) | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: ${{ env.DUCKDB_SRC }} | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ env.DUCKDB_R_REPO }} | ||
path: ${{ env.DUCKDB_R_SRC }} | ||
|
||
# needed so we can run git commit in vendor.sh | ||
- name: setup github and create parallel builds | ||
shell: bash | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "mr. duck" | ||
mkdir -p ~/.R | ||
echo 'MAKEFLAGS = -j2' >> ~/.R/Makevars | ||
# error is from git_dev_version() but does not affect this workflow | ||
- name: update duckdb-r src code with PR code | ||
shell: bash | ||
working-directory: ${{ env.DUCKDB_R_SRC }} | ||
run: (cd duckdb-r && ./vendor.sh duckdb) | ||
|
||
- 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 | ||
cd duckdb-r | ||
R CMD INSTALL . | ||
- name: Test R | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "duckdb"] | ||
path = duckdb | ||
url = https://github.com/duckdb/duckdb | ||
[submodule "duckdb-r"] | ||
path = duckdb-r | ||
url = https://github.com/duckdb/duckdb-r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
local({ | ||
pkg <- c("DBI", "callr", "DBItest", "dbplyr", "testthat", "bit64", "cpp11", "arrow", "covr", "pkgbuild", "remotes") | ||
|
||
if (.Platform$OS.type == "unix") { | ||
options(HTTPUserAgent = sprintf("R/4.1.0 R (4.1.0 %s)", paste(R.version$platform, R.version$arch, R.version$os))) | ||
install.packages(pkg, repos = "https://packagemanager.rstudio.com/all/__linux__/focal/latest") | ||
# https://github.com/r-lib/covr/pull/499 | ||
remotes::install_github("r-lib/covr") | ||
} else { | ||
install.packages(pkg, repos = "https://cloud.r-project.org", pkgType = "binary") | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4,910 changes: 3,470 additions & 1,440 deletions
4,910
third_party/substrait/substrait/algebra.pb.cc
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.