Skip to content

Commit

Permalink
Update clang-tidy.yml (StarRocks#13173)
Browse files Browse the repository at this point in the history
fix clang-tidy action bug: Missing source dir
  • Loading branch information
wanpengfei-git authored Nov 9, 2022
1 parent 19e6a23 commit a504b26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
run: |
sudo rm -rf ../starrocks/*
time scp jenkins@ci01:~/userContent/be-build-$PR_NUMBER.tar.gz .
mkdir temp
tar xzf be-build-$PR_NUMBER.tar.gz -C temp
cp -r temp/be/build_Release be/
tar xzf be-build-$PR_NUMBER.tar.gz
workdir=$(pwd)
echo $workdir
sed -i "s|\/root\/starrocks|$workdir|g" be/build_Release/compile_commands.json
Expand Down

0 comments on commit a504b26

Please sign in to comment.