File tree Expand file tree Collapse file tree
actions/do_build_pr/run_ubuntu_clang_tidy_x86_64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build_pr_ubuntu_clang_tidy_x86_64
2+ description : Build pr ubuntu clang tidy x86_64
3+
4+ inputs :
5+ cache_seed :
6+ type : boolean
7+ default : false
8+
9+ runs :
10+ using : " composite"
11+ steps :
12+ - name : build host x86_64 online release
13+ uses : ./.github/actions/do_build_ock
14+ with :
15+ build_type : ReleaseAssert
16+ build_targets : check-ock-tidy
17+ extra_flags : -DCMAKE_C_COMPILER=${{ inputs.cmake_cxx_compiler }}${{ github.workspace }}/llvm_install/bin/clang -DCMAKE_CXX_COMPILER=${{ inputs.cmake_cxx_compiler }}${{ github.workspace }}/llvm_install/bin/clang++
Original file line number Diff line number Diff line change @@ -575,3 +575,31 @@ jobs:
575575
576576 - name : build and test ock
577577 uses : ./.github/actions/do_build_pr/run_windows_msvc_x86_64_llvm_previous_cl3_0_images
578+
579+
580+ run-ubuntu-clang-tidy-x86_64 :
581+ # TODO: Put back !inputs.is_pull_request
582+ # if: ${{ !inputs.is_pull_request && contains(inputs.target_list, 'host_x86_64_linux') }}
583+ if : ${{ contains(inputs.target_list, 'host_x86_64_linux') }}
584+ runs-on : ubuntu-22.04
585+ container :
586+ image : ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
587+ volumes :
588+ - ${{github.workspace}}:${{github.workspace}}
589+ steps :
590+ - name : Checkout repo
591+ uses : actions/checkout@v4
592+ # Install requirements
593+ - name : Install clang-tidy and parallel
594+ run : |
595+ sudo apt-get update
596+ sudo apt-get install --yes clang-tidy-19 parallel
597+
598+ - name : setup-ubuntu
599+ uses : ./.github/actions/setup_build
600+ with :
601+ llvm_version : ${{ inputs.llvm_previous }}
602+ llvm_source : ${{ inputs.llvm_source}}
603+ github_token : ${{ secrets.GITHUB_TOKEN }}
604+ - name : build ock / clang-tidy
605+ uses : ./.github/actions/do_build_pr/run_ubuntu_clang_tidy_x86_64
You can’t perform that action at this time.
0 commit comments