-
Notifications
You must be signed in to change notification settings - Fork 20
37 lines (32 loc) · 680 Bytes
/
c-cpp.yml
File metadata and controls
37 lines (32 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CPP CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: cpplint
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: ./check-git-clang-format-output.sh
build-with-bazel:
timeout-minutes: 60
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: BUILD
run: ./build.sh
- name: TEST
run: bazel test //:all --jobs=4