[BugFix] Fix check of overflow for converting floating to intergal (backport #49707) #6235
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Review | |
on: | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
build: | |
name: Clang-tidy Check | |
runs-on: self-hosted | |
if: ${{ github.event.label.name == 'be-build' }} | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
steps: | |
- name: pre build | |
run: | | |
sudo rm -rf ../starrocks/* | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
be: | |
- 'be/**' | |
- uses: actions/checkout@v3 | |
if: steps.changes.outputs.be == 'true' | |
with: | |
fetch-depth: 0 | |
- name: set up build | |
if: steps.changes.outputs.be == 'true' | |
run: | | |
time scp jenkins@ci01:~/userContent/be-build-$PR_NUMBER.tar.gz . | |
tar xzf be-build-$PR_NUMBER.tar.gz | |
workdir=$(pwd) | |
echo $workdir | |
sed -i "s|\/root\/starrocks|$workdir|g" be/ut_build_ASAN/compile_commands.json | |
- uses: ZedThree/[email protected] | |
if: steps.changes.outputs.be == 'true' | |
id: review | |
with: | |
build_dir: be/build_Release | |
config_file: .clang-tidy | |
- name: post build | |
run: | | |
sudo rm -rf ../starrocks/* |