From a02e1ecc56c859ba5b586575de4d2cf84c3ac8f0 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:40:22 +0100 Subject: [PATCH] activate kythe index --- .github/workflows/build_bromite.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index 0c71a95..489c392 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -325,17 +325,18 @@ jobs: 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 - #python tools/clang/scripts/generate_compdb.py -p out/bromite/ -o out/bromite/compile_commands.json - #gn desc out/bromite/ '*' --format=json >out/bromite/gn_targets.json - #python tools/clang/scripts/run_tool.py --tool translation_unit -p out/bromite/ --all - #python ~/add_kythe_metadata.py out/bromite/ --corpus $KYTHE_CORPUS - #$WORKSPACE/package_index/latest/package_index \ - # --checkout_dir $WORKSPACE/chromium/src \ - # --path_to_compdb out/bromite/compile_commands.json \ - # --path_to_gn_targets out/bromite/gn_targets.json \ - # --path_to_java_kzips $KYTHE_OUTPUT_DIRECTORY \ - # --path_to_archive_output out/bromite/chromium_linux.kzip \ - # --corpus $KYTHE_CORPUS + python tools/clang/scripts/generate_compdb.py -p out/bromite/ -o out/bromite/compile_commands.json + gn desc out/bromite/ '*' --format=json >out/bromite/gn_targets.json + python tools/clang/scripts/run_tool.py --tool translation_unit -p out/bromite/ --all + python ~/add_kythe_metadata.py out/bromite/ --corpus $KYTHE_CORPUS + $WORKSPACE/package_index/latest/package_index \ + --checkout_dir $WORKSPACE/chromium/src \ + --path_to_compdb out/bromite/compile_commands.json \ + --path_to_gn_targets out/bromite/gn_targets.json \ + --path_to_java_kzips $KYTHE_OUTPUT_DIRECTORY \ + --path_to_archive_output out/bromite/chromium_linux.kzip \ + --corpus $KYTHE_CORPUS \ + --keep_filepaths_files - name: Build junit tests shell: bash