|
55 | 55 | sed -i 's/"-Wno-unused-but-set-variable",//g' build/config/compiler/BUILD.gn |
56 | 56 | displayName: Disable build flags |
57 | 57 | workingDirectory: $(Pipeline.Workspace)/src |
58 | | - failOnStderr: true |
59 | 58 | - bash: | |
60 | 59 | flutter/tools/gn \ |
61 | 60 | --target-os linux \ |
|
71 | 70 | --embedder-for-target \ |
72 | 71 | --build-tizen-shell |
73 | 72 | ninja -C out/linux_$(mode)_$(arch) |
| 73 | + cp out/linux_$(mode)_$(arch)/libflutter_*.so $(Build.StagingDirectory) |
74 | 74 | displayName: Build |
75 | 75 | workingDirectory: $(Pipeline.Workspace)/src |
76 | 76 | failOnStderr: true |
77 | | - - bash: | |
78 | | - OUTDIR=$(Build.StagingDirectory) |
79 | | - cp out/linux_$(mode)_$(arch)/libflutter_*.so $OUTDIR |
80 | | - if [[ $(System.JobName) == "tizen-arm-release" ]]; then |
81 | | - mkdir $OUTDIR/tizen-common |
82 | | - cp -r out/linux_$(mode)_$(arch)/{cpp_client_wrapper,icu,public} $OUTDIR/tizen-common |
83 | | - rm $OUTDIR/tizen-common/cpp_client_wrapper/engine_method_result.cc |
84 | | - fi |
85 | | - displayName: Copy artifacts |
86 | | - workingDirectory: $(Pipeline.Workspace)/src |
87 | | - failOnStderr: true |
88 | 77 | - publish: $(Build.StagingDirectory) |
89 | 78 | artifact: $(System.JobName) |
90 | | -- job: release |
91 | | - dependsOn: build |
92 | | - pool: |
93 | | - name: Default |
94 | | - demands: agent.os -equals Linux |
95 | | - workspace: |
96 | | - clean: outputs |
97 | | - steps: |
98 | | - - download: current |
99 | | - - bash: | |
100 | | - mv $(Pipeline.Workspace)/tizen-arm-release/tizen-common . |
101 | | - mv $(Pipeline.Workspace)/tizen-* . |
102 | | - for x in $(ls -d1 tizen-*); do |
103 | | - echo "Archiving $x.zip..." |
104 | | - (cd $x; zip -rq $(Build.StagingDirectory)/$x.zip *) |
105 | | - done |
106 | | - displayName: Create releases |
107 | | - workingDirectory: $(Build.BinariesDirectory) |
108 | | - failOnStderr: true |
109 | | - - publish: $(Build.StagingDirectory) |
110 | | - artifact: release |
0 commit comments