-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8bdf4d
commit 4989bf6
Showing
8 changed files
with
156 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "cargo" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
ignore: | ||
# arrow and datafusion are bumped manually | ||
- dependency-name: "arrow*" | ||
update-types: ["version-update:semver-major"] |
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,76 @@ | ||
name: Continuous Integration | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- "releases/*" | ||
|
||
jobs: | ||
build-lint-test: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-arm] | ||
include: | ||
- os: windows-latest | ||
checkTarget: true | ||
- os: ubuntu-latest | ||
docsTarget: true | ||
cloudTestTarget: true | ||
- os: ubuntu-arm | ||
runsOn: buildjet-4vcpu-ubuntu-2204-arm | ||
runs-on: ${{ matrix.runsOn || matrix.os }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Setup Rust cache | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: src/DeltaLake/Bridge | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
|
||
- name: Build | ||
# We intentionally just build debug mode in this CI. We build before | ||
# regen to confirm no interop header changes. | ||
run: dotnet build | ||
|
||
- name: Regen confirm unchanged | ||
if: ${{ matrix.checkTarget }} | ||
# Needs to be 16.0.0 until https://github.com/dotnet/ClangSharp/pull/506 released | ||
run: | | ||
dotnet tool install --global --version 16.0.0 ClangSharpPInvokeGenerator | ||
ClangSharpPInvokeGenerator @src/Temporalio/Bridge/GenerateInterop.rsp | ||
npx doctoc README.md | ||
git config --global core.safecrlf false | ||
git diff --exit-code | ||
- name: Check format | ||
if: ${{ matrix.checkTarget }} | ||
run: dotnet format --verify-no-changes | ||
|
||
- name: Test | ||
run: dotnet test --logger "console;verbosity=detailed" --blame-crash -v n | ||
|
||
- name: Upload test failure | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-fail-${{ matrix.os }} | ||
path: tests/DeltaLake.Tests/TestResults | ||
|
||
- name: Build docs | ||
if: ${{ matrix.docsTarget }} | ||
run: | | ||
dotnet tool update -g docfx | ||
docfx src/DeltaLake.ApiDoc/docfx.json --warningsAsErrors |
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,4 @@ | ||
# API Documentation | ||
|
||
- [DeltaLake.Table](/api/DeltaLake.Table.html) - The delta table class and options | ||
- [DeltaLake.Runtime](/api/DeltaLake.Runtime.html) - The runtime and options |
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,51 @@ | ||
{ | ||
"metadata": [ | ||
{ | ||
"src": [ | ||
{ | ||
"files": ["DeltaLake/*.csproj"], | ||
"exclude": ["**/bin/**", "**/obj/**"], | ||
"src": ".." | ||
} | ||
], | ||
"dest": "api", | ||
"includePrivateMembers": false, | ||
"disableGitFeatures": false, | ||
"disableDefaultFilter": false, | ||
"noRestore": false, | ||
"namespaceLayout": "nested", | ||
"memberLayout": "samePage", | ||
"allowCompilationErrors": false | ||
} | ||
], | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": ["api/**.yml", "api/index.md"] | ||
}, | ||
{ | ||
"files": ["*.md"] | ||
} | ||
], | ||
"resource": [ | ||
{ | ||
"files": [] | ||
} | ||
], | ||
"globalMetadata": { | ||
"_appFaviconPath": "favicon.ico", | ||
"_appFooter": "<span></span>", | ||
"_appName": "DeltaLake .NET SDK", | ||
"_appTitle": "DeltaLake .NET SDK", | ||
"_enableSearch": false, | ||
"_disableContribution": true | ||
}, | ||
"output": "_site", | ||
"globalMetadataFiles": [], | ||
"fileMetadataFiles": [], | ||
"template": ["default", "modern"], | ||
"postProcessors": [], | ||
"keepFileLink": false, | ||
"disableGitFeatures": false | ||
} | ||
} |
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,10 @@ | ||
--- | ||
title: Home | ||
--- | ||
|
||
# DeltaLake .NET SDK | ||
|
||
See: | ||
|
||
- [GitHub Repository](https://github.com/mightyshazam/delta-dotnet) | ||
- [API Documentation](/api/) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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