]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/benchmark/.github/workflows/bazel.yml
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / benchmark / .github / workflows / bazel.yml
1 name: bazel
2
3 on:
4 push: {}
5 pull_request: {}
6
7 jobs:
8 build-and-test:
9 runs-on: ubuntu-latest
10
11 steps:
12 - uses: actions/checkout@v1
13
14 - name: mount bazel cache
15 uses: actions/cache@v2.0.0
16 env:
17 cache-name: bazel-cache
18 with:
19 path: "~/.cache/bazel"
20 key: ${{ env.cache-name }}-${{ runner.os }}-${{ github.ref }}
21 restore-keys: |
22 ${{ env.cache-name }}-${{ runner.os }}-master
23
24 - name: build
25 run: |
26 bazel build //:benchmark //:benchmark_main //test/...
27
28 - name: test
29 run: |
30 bazel test --test_output=errors //test/...