diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0f8e5d1e8e..a9028cb28d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -380,6 +380,15 @@ jobs:
key: bazel-build-cpp-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('cpp/**', 'BUILD', 'WORKSPACE') }}
- name: Run C++ CI with Bazel
run: python ./ci/run_ci.py cpp
+ - name: Upload Bazel Test Logs
+ uses: actions/upload-artifact@v4
+ if: ${{ !cancelled() }}
+ with:
+ name: bazel-test-logs-${{ matrix.os }}
+ path: |
+ bazel-out/*/testlogs/**/*.log
+ bazel-out/*/testlogs/**/*.xml
+ if-no-files-found: ignore
cpp_xlang:
name: C++ Xlang Test
diff --git a/.gitignore b/.gitignore
index 63d109ab78..35b82d6f12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -115,3 +115,4 @@ examples/cpp/cmake_example/build
**/benchmark_*.png
**/results/
benchmarks/**/report/
+ignored/**
\ No newline at end of file
diff --git a/benchmarks/cpp_benchmark/README.md b/benchmarks/cpp_benchmark/README.md
index b66a3b04ff..42c1e4cf05 100644
--- a/benchmarks/cpp_benchmark/README.md
+++ b/benchmarks/cpp_benchmark/README.md
@@ -29,14 +29,14 @@ Note: Protobuf is fetched automatically via CMake FetchContent, so no manual ins