-
Notifications
You must be signed in to change notification settings - Fork 68
41 lines (38 loc) · 989 Bytes
/
example.yml
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
38
39
40
41
name: example
on:
push:
branches: [main]
jobs:
basic:
strategy:
fail-fast: false
matrix:
name:
- anyflow
- depend-use-bzlmod
- depend-use-cmake-fetch
- depend-use-cmake-find
- depend-use-cmake-subdir
- depend-use-workspace
- use-anyflow-with-brpc
- use-arena-with-brpc
- use-async-logger
- use-counter-with-bvar
- use-execution-queue
- use-with-bthread
- use-with-glog
runs-on: ubuntu-latest
name: ${{matrix.name}}
steps:
- uses: actions/checkout@v4
- if: ${{matrix.name == 'depend-use-cmake-find'}}
run: |
sudo apt install libabsl-dev
sudo apt install libboost-all-dev
sudo apt install libprotobuf-dev
- run: cd example/${{matrix.name}} && ./build.sh
bcr-presubmit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cd example/bcr-presubmit && bazel run example