-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sm-read-offsets
- Loading branch information
Showing
352 changed files
with
10,141 additions
and
5,587 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 |
---|---|---|
|
@@ -65,6 +65,57 @@ jobs: | |
remote_user: ${{ secrets.DOCS_USER }} | ||
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }} | ||
|
||
typedoc: | ||
runs-on: ubuntu-22.04 | ||
concurrency: | ||
group: typedoc-${{ github.workflow }}-${{ github.ref }} | ||
# We don't want to cancel in-progress jobs against main because that might leave the upload in a bad state. | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup JDK 11 | ||
id: setup-java-11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
|
||
- name: Setup JDK 17 | ||
id: setup-java-17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Set JAVA_HOME | ||
run: echo "JAVA_HOME=${{ steps.setup-java-11.outputs.path }}" >> $GITHUB_ENV | ||
|
||
- name: Run typedoc on JS API | ||
uses: burrunan/gradle-cache-action@v1 | ||
with: | ||
job-id: typedoc | ||
arguments: --scan :web-client-api:types:typedoc | ||
gradle-version: wrapper | ||
- name: Upload JavaScript/TypeScript docs | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: typedoc | ||
path: 'web/client-api/types/build/documentation/' | ||
- name: Deploy JavaScript/TypeScript docs | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
uses: burnett01/[email protected] | ||
with: | ||
switches: -avzr --delete | ||
path: web/client-api/types/build/documentation/ | ||
remote_path: deephaven-core/client-api/javascript/ | ||
remote_host: ${{ secrets.DOCS_HOST }} | ||
remote_port: ${{ secrets.DOCS_PORT }} | ||
remote_user: ${{ secrets.DOCS_USER }} | ||
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }} | ||
|
||
pydoc: | ||
runs-on: ubuntu-22.04 | ||
concurrency: | ||
|
@@ -191,3 +242,51 @@ jobs: | |
remote_port: ${{ secrets.DOCS_PORT }} | ||
remote_user: ${{ secrets.DOCS_USER }} | ||
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }} | ||
|
||
rdoc: | ||
runs-on: ubuntu-22.04 | ||
concurrency: | ||
group: rdoc-${{ github.workflow }}-${{ github.ref }} | ||
# We don't want to cancel in-progress jobs against main because that might leave the upload in a bad state. | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup JDK 11 | ||
id: setup-java-11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
|
||
- name: Set JAVA_HOME | ||
run: echo "JAVA_HOME=${{ steps.setup-java-11.outputs.path }}" >> $GITHUB_ENV | ||
|
||
- name: Setup gradle properties | ||
run: | | ||
.github/scripts/gradle-properties.sh >> gradle.properties | ||
cat gradle.properties | ||
- name: Generate R Docs | ||
uses: burrunan/gradle-cache-action@v1 | ||
with: | ||
job-id: rDocs | ||
arguments: R:rClientSite | ||
gradle-version: wrapper | ||
|
||
- name: Deploy R Docs | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
uses: burnett01/[email protected] | ||
with: | ||
switches: -avzr --delete | ||
path: R/rdeephaven/docs/ | ||
remote_path: deephaven-core/client-api/r/ | ||
remote_host: ${{ secrets.DOCS_HOST }} | ||
remote_port: ${{ secrets.DOCS_PORT }} | ||
remote_user: ${{ secrets.DOCS_USER }} | ||
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }} | ||
|
||
- name: Upload JVM Error Logs | ||
uses: actions/upload-artifact@v3 | ||
if: failure() |
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
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
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
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
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
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
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,25 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
if [ -z "${DH_PREFIX}" ]; then | ||
echo "$0: Environment variable DH_PREFIX is not set, aborting." 1>&2 | ||
exit 1 | ||
fi | ||
|
||
source $DH_PREFIX/env.sh | ||
|
||
cd $DH_PREFIX/src/rdeephaven | ||
|
||
R --no-save --no-restore <<EOF | ||
library('pkgdown') | ||
status = tryCatch( | ||
{ | ||
pkgdown::build_site() | ||
0 | ||
}, | ||
error=function(e) 1 | ||
) | ||
print(paste0('status=', status)) | ||
quit(save='no', status=status) | ||
EOF |
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,5 @@ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^doc$ | ||
^Meta$ |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ lib/cpp-dependencies/src | |
lib/cpp-dependencies/env.sh | ||
*.o | ||
*.so | ||
docs | ||
inst/doc | ||
/doc/ | ||
/Meta/ |
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,7 +1,7 @@ | ||
Package: rdeephaven | ||
Type: Package | ||
Title: R Client for Deephaven Core | ||
Version: 0.30.0 | ||
Version: 0.31.0 | ||
Date: 2023-05-12 | ||
Author: Deephaven Data Labs | ||
Maintainer: Alex Peters <[email protected]> | ||
|
@@ -16,6 +16,12 @@ License: Apache License (== 2.0) | |
Depends: R (>= 3.5.3) | ||
Imports: Rcpp (>= 1.0.10), arrow (>= 12.0.0), R6 (>= 2.5.0), dplyr (>= 1.1.0), utils (>= 3.5.3) | ||
LinkingTo: Rcpp | ||
Suggests: testthat (>= 3.0.0), lubridate (>= 1.9.0), zoo (>= 1.8-0) | ||
Suggests: | ||
testthat (>= 3.0.0), | ||
lubridate (>= 1.9.0), | ||
zoo (>= 1.8-0), | ||
knitr, | ||
rmarkdown | ||
Config/testthat/edition: 3 | ||
RoxygenNote: 7.2.3 | ||
VignetteBuilder: knitr |
Oops, something went wrong.