File tree Expand file tree Collapse file tree
do_build_pr/run_ubuntu_gcc_x86_64_refsi_tutorial Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ inputs:
110110 toolchain_file :
111111 description : " Path to toolchain file"
112112 default : " "
113+ cmake_path :
114+ description : ' cmake path'
115+ default : ' ' .''
113116
114117runs :
115118 # We don't want a new docker just a list of steps, so mark as composite
@@ -168,7 +171,7 @@ runs:
168171 -DCA_BUILD_32_BITS=${{ inputs.build_32_bit }}
169172 -DCMAKE_TOOLCHAIN_FILE=${{ inputs.toolchain_file }}
170173 ${{ inputs.extra_flags }}
171- .
174+ ${{ inputs.cmake_path }}
172175 - name : build_ock
173176 shell : ${{ inputs.shell_to_use }}
174177 run :
Original file line number Diff line number Diff line change 1+ name : build_pr_ubuntu_gcc_x86_64_refsi_tutorial
2+ description : Build pr ubuntu_gcc_x86_64_refsi_tutorial
3+
4+ inputs :
5+ cache_seed :
6+ type : boolean
7+ default : false
8+
9+ runs :
10+ using : " composite"
11+ steps :
12+ # TODO: refsi_tutorial start
13+ - name : remove any old dirs and set up new target
14+ shell : bash
15+ run : |
16+ rm -rf build
17+ scripts/setup_new_target_tutorial.sh -s end -e $GITHUB_WORKSPACE/refsi_tutorial -f "refsi_wrapper_pass;clmul;replace_mem" $PWD
18+ cd $GITHUB_WORKSPACE/refsi_tutorial
19+ - name : build it
20+ uses : ./.github/actions/do_build_ock
21+ with :
22+ build_targets : install # Build the install target so we don't miss compilation errors
23+ mux_targets_enable : refsi_tutorial
24+ use_linker : gold
25+ debug_support : ON
26+ offline_kernel_tests : OFF
27+ cmake_path : $GITHUB_WORKSPACE/refsi_tutorial
28+ extra_flags : " -DCA_EXTERNAL_ONEAPI_CON_KIT_DIR=$GITHUB_WORKSPACE -DCA_EXTERNAL_REFSI_TUTORIAL_HAL_DIR=$GITHUB_WORKSPACE/hal_refsi_tutorial"
29+
30+
31+ - name : run test
32+ if : inputs.cache_seed != 'true'
33+ shell : bash
34+ # Run just a quick UnitCL test for now, hal_tutorial causes some failures at present
35+ run : |
36+ ninja -Cbuild check-ock-refsi_tutorial-lit
37+ OCL_ICD_VENDORS=/dev/null OCL_ICD_FILENAMES=$PWD/build/oneAPIConstructionKit/lib/libCL.so \
38+ $PWD/build/oneAPIConstructionKit/bin/UnitCL \
39+ --gtest_filter=Execution/Execution.Task_01_02_Add/OpenCLC
You can’t perform that action at this time.
0 commit comments