Small optimizations #1725
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: ci | |
on: | |
pull_request: | |
push: | |
tags: | |
branches: | |
- main | |
jobs: | |
# We don't want to run clang-format as a presubmit requirement at this time, | |
# but here's all that's needed if that changes in the future: | |
# | |
# check_clang_format: | |
# name: Check clang-format | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: DoozyX/[email protected] | |
# with: | |
# source: '.' | |
# extensions: 'h,cc' | |
# clangFormatVersion: 17 | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
- name: Build and test | |
run: bazel test --test_output=errors ... | |
- name: Build and test with ASAN | |
run: bazel test --config=asan --copt=-Os --test_output=errors ... | |
- name: Shut down bazel | |
run: bazel shutdown |