From 3628a1b39b2c9337e01c5a998948ba57cb49ec7a Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:05:33 +0100 Subject: [PATCH] Generate clangd index --- .github/workflows/build_bromite.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index 02dc85c..ce48889 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -345,7 +345,14 @@ jobs: --path_to_archive_output /home/lg/working_dir/chromium/src/out/bromite/chromium_linux.kzip \ --corpus $KYTHE_CORPUS \ --out_dir src/out/bromite || true - + + - name: Generate clangd index + shell: bash + run: | + PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH + cd $WORKSPACE/chromium/src + /home/lg/working_dir/clangd_snapshot_20211205/bin/clangd-indexer --executor=all-TUs out/bromite/compile_commands.json >out/bromite/bromite.idx + - name: Build junit tests shell: bash run: |