chore(deps): update dependency com_github_google_benchmark to v1.8.3 #533
Workflow file for this run
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: Bazel CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Bazel on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
- name: Generate German locale on Ubuntu | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get remove -y --purge man-db # avoid time-consuming trigger | |
sudo apt-get update | |
sudo apt-get install -y locales | |
sudo locale-gen de_DE.UTF-8 # used by SerializerTest | |
- name: Install telegraf on Ubuntu | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get install -y telegraf | |
- name: Install telegraf on macOS | |
if: runner.os == 'macOS' | |
run: brew install telegraf | |
- name: Build with SSL | |
run: bazel build --config=ssl ${{ matrix.bazel_args }} //... | |
- name: Test with SSL | |
run: bazel test --config=ssl ${{ matrix.bazel_args }} --test_output=all //... | |
- name: Build with SSL and bzlmod | |
run: bazel build --enable_bzlmod --config=ssl ${{ matrix.bazel_args }} //... | |
- name: Build | |
run: bazel build //... | |
- name: Test | |
run: bazel test ${{ matrix.bazel_args }} --test_output=all //... | |
- name: Scraping Test | |
if: runner.os != 'Windows' | |
run: bazel test --test_output=all //pull/tests/integration:scrape-test | |
- name: Benchmark | |
run: bazel run -c opt //core/benchmarks |