Skip to content

Commit 53c5484

Browse files
authored
repo: Add basic build CI (#1)
Signed-off-by: Ryan Northey <[email protected]>
1 parent 3e96902 commit 53c5484

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Placeholder file for Prow
22

3+
common:ci --noshow_progress
4+
common:ci --noshow_loading_progress
5+
common:ci --test_output=errors
6+
37
# Required by envoy and its tests
48
build --define=grpc_no_ares=true
59
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
push:
9+
branches:
10+
- main
11+
12+
concurrency:
13+
group: >-
14+
${{ github.event.inputs.head_ref || github.run_id }}
15+
16+
17+
jobs:
18+
envoy:
19+
runs-on: ubuntu-24.04
20+
steps:
21+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22+
- run: |
23+
bazel build --config=ci //:all_libs

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ cc_library(
2121
"//proto_processing_lib:factory_helper",
2222
"//proto_processing_lib:interface_util",
2323
"//proto_processing_lib/proto_scrubber",
24-
"//proto_processing_lib/proto_scrubber:cloud_audit_log_field_checker",
24+
"//proto_processing_lib/proto_scrubber:field_mask_path_checker",
2525
],
2626
)

0 commit comments

Comments
 (0)