Skip to content

Commit 6a6f655

Browse files
Introduce basic CI to repository
1 parent b90f382 commit 6a6f655

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
# Controls when the action will run.
4+
on:
5+
push:
6+
branches: [master]
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
# Cancel previous actions from the same PR: https://stackoverflow.com/a/72408109
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v5
20+
- uses: bazel-contrib/setup-bazel@0.15.0
21+
22+
- name: bazel build
23+
run: >-
24+
bazel
25+
build
26+
//:sonar_scanner
27+
//:sonarqube_coverage_generator
28+
//docs:docs
29+
30+
# - name: bazel aquery
31+
# run: >-
32+
# bazel
33+
# aquery
34+
# ...

0 commit comments

Comments
 (0)