Skip to content

Commit

Permalink
repo: Add basic build CI (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Sep 24, 2024
1 parent 3e96902 commit 53c5484
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Placeholder file for Prow

common:ci --noshow_progress
common:ci --noshow_loading_progress
common:ci --test_output=errors

# Required by envoy and its tests
build --define=grpc_no_ares=true
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build

permissions:
contents: read

on:
pull_request:
push:
branches:
- main

concurrency:
group: >-
${{ github.event.inputs.head_ref || github.run_id }}
jobs:
envoy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: |
bazel build --config=ci //:all_libs
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ cc_library(
"//proto_processing_lib:factory_helper",
"//proto_processing_lib:interface_util",
"//proto_processing_lib/proto_scrubber",
"//proto_processing_lib/proto_scrubber:cloud_audit_log_field_checker",
"//proto_processing_lib/proto_scrubber:field_mask_path_checker",
],
)

0 comments on commit 53c5484

Please sign in to comment.