Skip to content

Commit

Permalink
add ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Apr 28, 2024
1 parent b1e1824 commit 545dd07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
# bazelisk-version: 1.19.0
# disk-cache: clang14-mutable-donated-string-asan
# repository-cache: true
# - run: CC=clang-14 bazel test --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++ --config mutable-donated-string --config asan ...
# - run: bazel test --action_env=CC=clang-14 --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++ --config mutable-donated-string --config asan ...

coverage:
runs-on: ubuntu-latest
Expand All @@ -116,7 +116,7 @@ jobs:
disk-cache: coverage
external-cache: true
repository-cache: true
- run: bazel coverage --combined_report=lcov --instrumentation_filter='src' ...
- run: bazel coverage --action_env CC=gcc-12 --combined_report=lcov --instrumentation_filter='src/babylon,-src/babylon/reusable/patch' ...
- run: tail bazel-out/_coverage/_coverage_report.dat
- run: ls -l bazel-out/_coverage/
- run: which bazel
Expand All @@ -126,4 +126,3 @@ jobs:
with:
github-token: ${{github.token}}
file: bazel-out/_coverage/_coverage_report.dat
format: lcov

0 comments on commit 545dd07

Please sign in to comment.