diff --git a/.github/workflows/contrib_checks.yml b/.github/workflows/contrib_checks.yml index a99414f8715a..035dc7714c0e 100644 --- a/.github/workflows/contrib_checks.yml +++ b/.github/workflows/contrib_checks.yml @@ -282,15 +282,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Build and run C++ minimal example - shell: bash - run: ./examples/cpp/minimal/build_and_run.sh --werror - - name: Build and run rerun_cpp tests shell: bash run: ./rerun_cpp/build_and_run_tests.sh --werror - - name: Build code examples + - name: Build examples shell: bash - run: ./docs/code-examples/build_all.sh --werror + run: ./examples/cpp/build_all.sh --werror + - name: Build doc-code examples + shell: bash + run: ./docs/code-examples/cpp_build_all.sh --werror diff --git a/docs/cspell.json b/docs/cspell.json index aa763fa72b14..3e130f827510 100644 --- a/docs/cspell.json +++ b/docs/cspell.json @@ -337,6 +337,7 @@ "webgpu", "webm", "webpki", + "werror", "wgpu", "wgsl", "whele", diff --git a/rerun_cpp/README.md b/rerun_cpp/README.md index 634458e4b160..e9d7b71d90b6 100644 --- a/rerun_cpp/README.md +++ b/rerun_cpp/README.md @@ -6,7 +6,7 @@ This is not yet ready to be used. Run `scripts/setup.sh`. ## Test it -`examples/cpp/minimal/build_and_run.sh` +`./rerun_cpp/build_and_run_tests.sh --werror` # To do: * CI diff --git a/scripts/check.sh b/scripts/check.sh index 5fc15e7b5e7f..0cc694e499eb 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -17,7 +17,7 @@ typos cargo fmt --all -- --check ./scripts/lint.py ./scripts/ci/cargo_deny.sh -./examples/cpp/minimal/build_and_run.sh --werror +./rerun_cpp/build_and_run_tests.sh --werror just py-lint cargo check --all-targets --all-features