Skip to content

Create main.yml (#1) #7

Create main.yml (#1)

Create main.yml (#1) #7

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bazel cache
id: bazel-cache
uses: actions/cache@v2
env:
version: 4.2.1
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-{{ env.version }}-bazel-cache
- name: Test ASAN
run: |
bazel test --config=asan -c dbg //...
- name: Test OPT
run: |
bazel test -c opt //...