Skip to content

Commit 11d825f

Browse files
authored
[ci] install clang-14, build, and run tests (#4)
* install clang-14 during build, and run tests Signed-off-by: Alejandro R. Sedeño <[email protected]> * bump proto-field-extraction version 7bc30f7 updated to the wrong version and it still didn't build. Signed-off-by: Alejandro R. Sedeño <[email protected]> --------- Signed-off-by: Alejandro R. Sedeño <[email protected]>
1 parent 7bc30f7 commit 11d825f

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,22 @@ concurrency:
1515
1616
1717
jobs:
18-
envoy:
18+
build_and_test:
1919
runs-on: ubuntu-24.04
2020
steps:
2121
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22-
- run: |
22+
- name: Download build dependencies
23+
shell: bash
24+
run: |
25+
mkdir -p build_deps/clang-14
26+
cd build_deps/clang-14
27+
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
28+
tar -xf clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz --strip-components 1
29+
cd bin
30+
echo "$(pwd)" >> $GITHUB_PATH
31+
- name: Build :all_libs
32+
run: |
2333
bazel build --config=ci //:all_libs
34+
- name: Run tests
35+
run: |
36+
bazel test --config=ci ...

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ http_archive(
5151

5252
http_archive(
5353
name = "com_google_protofieldextraction",
54-
strip_prefix = "proto-field-extraction-598807946f248917db4b7d2e7249de3e4eee0003", # July 9, 2024
55-
url = "https://github.com/grpc-ecosystem/proto-field-extraction/archive/598807946f248917db4b7d2e7249de3e4eee0003.tar.gz",
54+
strip_prefix = "proto-field-extraction-d5d39f0373e9b6691c32c85929838b1006bcb3fb", # July 9, 2024
55+
url = "https://github.com/grpc-ecosystem/proto-field-extraction/archive/d5d39f0373e9b6691c32c85929838b1006bcb3fb.tar.gz",
5656
)
5757

5858
# -------- Load and call dependencies of underlying libraries --------

0 commit comments

Comments
 (0)