-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into fix
- Loading branch information
Showing
783 changed files
with
59,158 additions
and
47,741 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,17 @@ | ||
name: Cargo Machete | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
cargo-machete: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Machete | ||
uses: bnjbvr/cargo-machete@main |
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 |
---|---|---|
|
@@ -61,21 +61,15 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Install Python dependencies | ||
shell: bash | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r rerun_py/requirements-doc.txt | ||
pixi-version: v0.25.0 | ||
environments: py-docs | ||
|
||
- name: Build via mkdocs | ||
shell: bash | ||
run: | | ||
mkdocs build --strict -f rerun_py/mkdocs.yml | ||
pixi run -e py-docs mkdocs build --strict -f rerun_py/mkdocs.yml | ||
no-codegen-changes: | ||
name: Check if running codegen would produce any changes | ||
|
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 |
---|---|---|
|
@@ -59,6 +59,7 @@ jobs: | |
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
environments: py-docs | ||
|
||
- name: Install rerun-sdk | ||
run: | | ||
|
@@ -72,11 +73,6 @@ jobs: | |
# because it is not actually going to run | ||
RUSTFLAGS: "-Awarnings --cfg disable_web_viewer_server" | ||
run: | | ||
# Install latest release version of the Rerun SDK | ||
# We don't actually want to build it, because then we'd be installing the dev version. | ||
pixi run pip install -r rerun_py/requirements-doc.txt | ||
pixi run pip install rerun-sdk==${{ needs.get-version.outputs.version }} | ||
pixi run search-index build \ | ||
landing \ | ||
--url "https://edge.meilisearch.com" \ | ||
|
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 |
---|---|---|
|
@@ -155,10 +155,13 @@ jobs: | |
save-data-file: false | ||
auto-push: false | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
|
||
- name: Render benchmark result | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
pip install --break-system-package google-cloud-storage==2.9.0 | ||
scripts/ci/render_bench.py crates \ | ||
pixi run python scripts/ci/render_bench.py crates \ | ||
--after $(date -d"30 days ago" +%Y-%m-%d) \ | ||
--output "gs://rerun-builds/graphs" |
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 |
---|---|---|
|
@@ -53,20 +53,12 @@ jobs: | |
with: | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
python-version: "3.8" | ||
cache: "pip" | ||
cache-dependency-path: "rerun_py/requirements-doc.txt" | ||
|
||
- name: Install Python dependencies | ||
shell: bash | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r rerun_py/requirements-doc.txt | ||
pixi-version: v0.25.0 | ||
environments: py-docs | ||
|
||
- name: Build via mkdocs | ||
shell: bash | ||
run: | | ||
mkdocs build --strict -f rerun_py/mkdocs.yml | ||
pixi run -e py-docs mkdocs build --strict -f rerun_py/mkdocs.yml |
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 |
---|---|---|
|
@@ -100,5 +100,10 @@ jobs: | |
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} | ||
|
||
- name: cargo test --all-targets --all-features | ||
run: cargo test --all-targets --all-features | ||
# Building with `--all-features` requires extra build tools like `nasm`. | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
|
||
- name: pixi run cargo test --all-targets --all-features | ||
run: pixi run cargo test --all-targets --all-features |
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 |
---|---|---|
|
@@ -71,18 +71,10 @@ jobs: | |
fetch-depth: 0 # Don't do a shallow clone | ||
ref: ${{ inputs.RELEASE_COMMIT || (github.event_name == 'pull_request' && github.event.pull_request.head.ref || '') }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
python-version: "3.11" | ||
cache: "pip" | ||
cache-dependency-path: "rerun_py/requirements-doc.txt" | ||
|
||
- name: Install Python dependencies | ||
shell: bash | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r rerun_py/requirements-doc.txt | ||
pixi-version: v0.25.0 | ||
environments: py-docs | ||
|
||
- name: Set up git author | ||
run: | | ||
|
@@ -99,7 +91,7 @@ jobs: | |
if: ${{ inputs.UPDATE_LATEST }} | ||
run: | | ||
git fetch | ||
mike deploy -F rerun_py/mkdocs.yml --rebase -b gh-pages --prefix docs/python -u ${{inputs.PY_DOCS_VERSION_NAME}} stable | ||
pixi run -e py-docs mike deploy -F rerun_py/mkdocs.yml --rebase -b gh-pages --prefix docs/python -u ${{inputs.PY_DOCS_VERSION_NAME}} stable | ||
git checkout gh-pages | ||
git checkout --orphan gh-pages-orphan | ||
git commit -m "Update docs for ${GITHUB_SHA}" | ||
|
@@ -112,7 +104,7 @@ jobs: | |
if: ${{ ! inputs.UPDATE_LATEST }} | ||
run: | | ||
git fetch | ||
mike deploy -F rerun_py/mkdocs.yml --rebase -b gh-pages --prefix docs/python ${{inputs.PY_DOCS_VERSION_NAME}} | ||
pixi run -e py-docs mike deploy -F rerun_py/mkdocs.yml --rebase -b gh-pages --prefix docs/python ${{inputs.PY_DOCS_VERSION_NAME}} | ||
git checkout gh-pages | ||
git checkout --orphan gh-pages-orphan | ||
git commit -m "Update docs for ${GITHUB_SHA}" | ||
|
@@ -151,11 +143,15 @@ jobs: | |
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
|
||
- name: Delete existing /target/doc | ||
run: rm -rf ./target/doc | ||
|
||
- name: cargo doc --document-private-items | ||
run: cargo doc --document-private-items --no-deps --all-features --workspace --exclude rerun-cli | ||
run: pixi run cargo doc --document-private-items --no-deps --all-features --workspace --exclude rerun-cli | ||
|
||
- name: Set up git author | ||
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,4 +1,4 @@ | ||
name: Build and publish C++ SDK | ||
name: Build and Publish C/C++ SDKs | ||
|
||
on: | ||
workflow_call: | ||
|
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 |
---|---|---|
|
@@ -189,10 +189,13 @@ jobs: | |
save-data-file: false | ||
auto-push: false | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
|
||
- name: Render benchmark result | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
python3 -m pip install --break-system-package google-cloud-storage==2.9.0 | ||
scripts/ci/render_bench.py sizes \ | ||
pixi run python scripts/ci/render_bench.py sizes \ | ||
--after $(date -d"180 days ago" +%Y-%m-%d) \ | ||
--output "gs://rerun-builds/graphs" |
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ _deps | |
# Python build artifacts: | ||
__pycache__ | ||
*.pyc | ||
*.pyd | ||
*.so | ||
**/.pytest_cache | ||
|
||
|
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
Oops, something went wrong.