Skip to content

Commit df89449

Browse files
committed
install clang-14 during build, and run tests
Signed-off-by: Alejandro R. Sedeño <[email protected]>
1 parent 7bc30f7 commit df89449

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
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 ...

0 commit comments

Comments
 (0)