-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/prepare_matchers_for_protobuf_28 (#5)
* Prepare matchers also for protobuf >= 28. * Updated all dependencies. * Verified protobuf versions 25.2, 26.0, 26.1, 27.0, 27.1, 27.2, 28.0-rc1. * Added Clang support. * Updated GH actions.
- Loading branch information
Showing
7 changed files
with
190 additions
and
51 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
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,26 +1,59 @@ | ||
name: Test | ||
on: [push] | ||
jobs: | ||
test: | ||
test-clang-asan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Bazelisk | ||
uses: bazelbuild/setup-bazelisk@v3 | ||
|
||
- name: Bazel cache | ||
id: bazel-cache | ||
uses: actions/cache@v2 | ||
env: | ||
version: 4.2.1 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cache/bazel | ||
key: ${{ runner.os }}-{{ env.version }}-bazel-cache | ||
path: "~/.cache/bazel" | ||
key: bazel-cache-clang-asan | ||
|
||
- name: Test ASAN | ||
- name: Test Clang/ASAN | ||
run: | | ||
bazel test --config=asan -c dbg //... | ||
bazel test --config=clang --config=asan -c dbg //... | ||
test-clang-opt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Bazelisk | ||
uses: bazelbuild/setup-bazelisk@v3 | ||
|
||
- name: Bazel cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: "~/.cache/bazel" | ||
key: bazel-cache-clang-opt | ||
|
||
- name: Test Clang/OPT | ||
run: | | ||
bazel test --config=clang -c opt //... | ||
test-gcc-fastbuild: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Bazelisk | ||
uses: bazelbuild/setup-bazelisk@v3 | ||
|
||
- name: Bazel cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: "~/.cache/bazel" | ||
key: bazel-cache-gcc-fastbuild | ||
|
||
- name: Test OPT | ||
- name: Test GCC/Fastbuild | ||
run: | | ||
bazel test -c opt //... | ||
CC=gcc bazel test -c fastbuild //... |
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
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