编译构建 CODEARTS BUILD-配置详解:配置示例2:产物分类模式

时间:2024-05-10 17:00:01

配置示例2:产物分类模式

在分支C编写BuildFlow配置中build_ref指定的accelerate.yml,示例如下:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
version: 2.0 

params: 
  - name: TB_RSYNC 
    value: ${WORKSPACE}/AOSP/:out/target/product/generic_x86_64

steps: 
  PRE_BUILD: 
  - checkout: 
      name: "checkout" 
      inputs: 
        scm: "codehub" 
        url: "git@codehub.devcloud.example.example.com:example.git" 
        branch: "master" 
        lfs: false 
        submodule: false 
  BUILD: 
  - tbuild_execute: 
      inputs: 
        image: "swr.example.example.com/buildimage:AOSP" 
        command: "cd AOSP && chmod a+x build.sh && BuildAccelerateL3 -AOSP ./build.sh && ./post_build.sh"
support.huaweicloud.com/usermanual-codeci/codeci_01_0018.html