File tree Expand file tree Collapse file tree
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 @@ -110,7 +110,12 @@ inputs:
110110 source_dir :
111111 description : ' cmake source directory'
112112 default : ' .'
113-
113+ cmake_c_compiler :
114+ description : ' cmake compiler to use e.g. clang, gcc'
115+ default : ' gcc'
116+ cmake_cxx_compiler :
117+ description : ' cmake compiler to use e.g. clang++, g++'
118+ default : ' g++'
114119runs :
115120 # We don't want a new docker just a list of steps, so mark as composite
116121 using : " composite"
@@ -133,6 +138,8 @@ runs:
133138 run :
134139 cmake -GNinja
135140 -B${{ inputs.build_dir }}
141+ -DCMAKE_C_COMPILER=${{ inputs.cmake_c_compiler }}
142+ -DCMAKE_CXX_COMPILER=${{ inputs.cmake_cxx_compiler }}
136143 -DCMAKE_C_COMPILER_LAUNCHER=ccache
137144 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
138145 -DCA_MUX_TARGETS_TO_ENABLE=${{ inputs.mux_targets_enable }}
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 : remove any old dirs
13+ shell : bash
14+ run :
15+ rm -rf build build_offline
16+ - name : build host x86_64 online release
17+ uses : ./.github/actions/do_build_ock
18+ with :
19+ build_type : ReleaseAssert
20+ build_targets : check-ock-tidy
21+ cmake_c_compiler : ${{ github.workspace }}/llvm_install/bin/clang
22+ cmake_cxx_compiler : ${{ github.workspace }}/llvm_install/bin/clang++
You can’t perform that action at this time.
0 commit comments