File tree Expand file tree Collapse file tree 6 files changed +526
-420
lines changed
run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz Expand file tree Collapse file tree 6 files changed +526
-420
lines changed Original file line number Diff line number Diff line change 1+ name : build_pr_host_x86_64
2+ description : Build pr host 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 : Release
20+ offline_kernel_tests : ${{ inputs.cache_seed && 'OFF' || 'ON' }}
21+ - name : build host x86_64 offline release
22+ uses : ./.github/actions/do_build_ock
23+ with :
24+ build_type : Release
25+ extra_flags : -DCA_RUNTIME_COMPILER_ENABLED=OFF -DCA_EXTERNAL_CLC=${{ github.workspace }}/build/bin/clc
26+ build_dir : build_offline
27+ build_targets : UnitCL
28+ assemble_spirv_ll_lit_test_offline : ON
Original file line number Diff line number Diff line change 1+ name : build_pr_riscv_m1
2+ description : Build pr host 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
16+
17+ - name : build_ock
18+ uses : ./.github/actions/do_build_ock
19+ with :
20+ build_type : ${{ inputs.build_type }}
21+ mux_targets_enable : riscv
22+ mux_compilers_enable : refsi_m1
23+ external_compiler_dirs : " ${{ github.workspace }}/examples/refsi/refsi_m1/compiler/refsi_m1"
24+ riscv_enabled : ON
25+ enable_rvv_scalable_vecz_check : ON
26+ enable_rvv_scalable_vp_vecz_check : ON
27+ offline_kernel_tests : ${{ inputs.cache_seed && 'OFF' || 'ON' }}
Original file line number Diff line number Diff line change 1+ name : build_pr_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vec
2+ description : Build pr ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vec
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
16+
17+ - name : build ock
18+ uses : ./.github/actions/do_build_ock
19+ with :
20+ build_targets : ${{ inputs.cache_seed && 'UnitCL' || 'check-ock-UnitCL-group-vecz' }}
21+ mux_targets_enable : riscv
22+ mux_compilers_enable : riscv
23+ riscv_enabled : ON
24+ enable_rvv_scalable_vecz_check : ON
25+ enable_rvv_scalable_vp_vecz_check : ON
26+ use_linker : gold
27+ hal_description : RV64GCV_Zfh
28+ hal_refsi_soc : G1
29+ hal_refsi_thread_mode : WG
30+ debug_support : ON
31+ offline_kernel_tests : ${{ inputs.cache_seed && 'OFF' || 'ON' }}
Original file line number Diff line number Diff line change 1+ name : Run ock tests for PR style testing
2+ on :
3+ pull_request :
4+ paths :
5+ - ' .github/workflows/pr_tests_cache.yml'
6+
7+ concurrency :
8+ group : pr-test-cache-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+ cancel-in-progress : true
10+
11+ env :
12+ llvm_previous : " 18"
13+
14+ jobs :
15+ ubuntu_22_llvm_prev_jobs :
16+ runs-on : ubuntu-22.04
17+ container :
18+ image : ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
19+ volumes :
20+ - ${{github.workspace}}:${{github.workspace}}
21+ steps :
22+ - name : Checkout repo
23+ uses : actions/checkout@v4
24+
25+ # installs tools, ninja, installs llvm and sets up sccahe
26+ - name : setup-ubuntu
27+ uses : ./.github/actions/setup_build
28+ with :
29+ llvm_version : ${{ env.llvm_previous }}
30+ llvm_build_type : RelAssert
31+ save : true
32+ # - name: seed host_x86_64
33+ # uses: ./.github/actions/do_build_pr/run_host_x86_64
34+ # with:
35+ # cache_seed: true
36+
37+ - name : build riscv M1
38+ uses : ./.github/actions/do_build_pr/run_riscv_m1
39+ with :
40+ cache_seed : true
41+
42+ - name : build riscv M1
43+ uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
44+ with :
45+ cache_seed : true
You can’t perform that action at this time.
0 commit comments