Move Required
to 0.2.34 as its release target. (#80)
#325
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
name: Test | |
on: [push] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: pre-commit/action@v3.0.1 | |
- uses: pre-commit-ci/lite-action@v1.0.2 | |
if: always() | |
test-clang-asan: | |
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-asan | |
- name: Test Clang/ASAN | |
run: | | |
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 GCC/Fastbuild | |
run: | | |
CC=gcc bazel test -c fastbuild //... |