@@ -259,14 +259,27 @@ jobs:
259259 src/app/zap-templates/zcl/data-model/chip/electrical-power-measurement-cluster.xml \
260260 src/app/zap-templates/zcl/data-model/chip/zone-management-cluster.xml \
261261 "
262- - name : Build Apps (part 1)
262+ - name : Build Apps with Unified Build
263+ run : |
264+ ./scripts/run_in_build_env.sh \
265+ "./scripts/build/build_examples.py \
266+ --target linux-x64-bridge-${BUILD_VARIANT}-unified \
267+ --target linux-x64-lock-${BUILD_VARIANT}-unified \
268+ --target linux-x64-microwave-oven-${BUILD_VARIANT}-unified \
269+ --target linux-x64-rvc-${BUILD_VARIANT}-unified \
270+ --target linux-x64-ota-provider-${BUILD_VARIANT}-unified \
271+ --pw-command-launcher=ccache \
272+ build \
273+ --copy-artifacts-to objdir-clone \
274+ "
275+ - name : Clean out
276+ run : rm -rf out/
277+ - name : Build Remaining Apps (part 1)
263278 run : |
264279 ./scripts/run_in_build_env.sh \
265280 "./scripts/build/build_examples.py \
266281 --target linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT} \
267282 --target linux-x64-all-clusters-${BUILD_VARIANT} \
268- --target linux-x64-lock-${BUILD_VARIANT} \
269- --target linux-x64-ota-provider-${BUILD_VARIANT} \
270283 --target linux-x64-ota-requestor-${BUILD_VARIANT} \
271284 --target linux-x64-tv-app-${BUILD_VARIANT} \
272285 --pw-command-launcher=ccache \
@@ -275,14 +288,11 @@ jobs:
275288 "
276289 - name : Clean out
277290 run : rm -rf out/
278- - name : Build Apps (part 2)
291+ - name : Build Remaining Apps (part 2)
279292 run : |
280293 ./scripts/run_in_build_env.sh \
281294 "./scripts/build/build_examples.py \
282- --target linux-x64-bridge-${BUILD_VARIANT} \
283295 --target linux-x64-lit-icd-${BUILD_VARIANT} \
284- --target linux-x64-microwave-oven-${BUILD_VARIANT} \
285- --target linux-x64-rvc-${BUILD_VARIANT} \
286296 --target linux-x64-network-manager-${BUILD_VARIANT} \
287297 --target linux-x64-energy-gateway-${BUILD_VARIANT} \
288298 --target linux-x64-energy-management-${BUILD_VARIANT} \
@@ -310,14 +320,14 @@ jobs:
310320 --iterations 1 \
311321 --test-timeout-seconds 120 \
312322 --all-clusters-app ./objdir-clone/linux-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
313- --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}/chip-lock-app \
314- --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}/chip-ota-provider-app \
323+ --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}-unified /chip-lock-app \
324+ --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}-unified /chip-ota-provider-app \
315325 --ota-requestor-app ./objdir-clone/linux-x64-ota-requestor-${BUILD_VARIANT}/chip-ota-requestor-app \
316326 --tv-app ./objdir-clone/linux-x64-tv-app-${BUILD_VARIANT}/chip-tv-app \
317- --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
327+ --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}-unified /chip-bridge-app \
318328 --lit-icd-app ./objdir-clone/linux-x64-lit-icd-${BUILD_VARIANT}/lit-icd-app \
319- --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}/chip-microwave-oven-app \
320- --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT}/chip-rvc-app \
329+ --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}-unified /chip-microwave-oven-app \
330+ --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT}-unified /chip-rvc-app \
321331 --network-manager-app ./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
322332 --energy-gateway-app ./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
323333 --energy-management-app ./objdir-clone/linux-x64-energy-management-${BUILD_VARIANT}/chip-energy-management-app \
@@ -373,14 +383,14 @@ jobs:
373383 --iterations 1 \
374384 --test-timeout-seconds 120 \
375385 --all-clusters-app ./objdir-clone/linux-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
376- --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}/chip-lock-app \
377- --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}/chip-ota-provider-app \
386+ --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}-unified /chip-lock-app \
387+ --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}-unified /chip-ota-provider-app \
378388 --ota-requestor-app ./objdir-clone/linux-x64-ota-requestor-${BUILD_VARIANT}/chip-ota-requestor-app \
379389 --tv-app ./objdir-clone/linux-x64-tv-app-${BUILD_VARIANT}/chip-tv-app \
380- --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
390+ --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}-unified /chip-bridge-app \
381391 --lit-icd-app ./objdir-clone/linux-x64-lit-icd-${BUILD_VARIANT}/lit-icd-app \
382- --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}/chip-microwave-oven-app \
383- --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT}/chip-rvc-app \
392+ --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}-unified /chip-microwave-oven-app \
393+ --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT}-unified /chip-rvc-app \
384394 --network-manager-app ./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
385395 --energy-gateway-app ./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
386396 --energy-management-app ./objdir-clone/linux-x64-energy-management-${BUILD_VARIANT}/chip-energy-management-app \
@@ -395,14 +405,14 @@ jobs:
395405 --iterations 1 \
396406 --test-timeout-seconds 120 \
397407 --all-clusters-app ./objdir-clone/linux-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
398- --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}/chip-lock-app \
399- --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}/chip-ota-provider-app \
408+ --lock-app ./objdir-clone/linux-x64-lock-${BUILD_VARIANT}-unified /chip-lock-app \
409+ --ota-provider-app ./objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}-unified /chip-ota-provider-app \
400410 --ota-requestor-app ./objdir-clone/linux-x64-ota-requestor-${BUILD_VARIANT}/chip-ota-requestor-app \
401411 --tv-app ./objdir-clone/linux-x64-tv-app-${BUILD_VARIANT}/chip-tv-app \
402- --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
412+ --bridge-app ./objdir-clone/linux-x64-bridge-${BUILD_VARIANT}-unified /chip-bridge-app \
403413 --lit-icd-app ./objdir-clone/linux-x64-lit-icd-${BUILD_VARIANT}/lit-icd-app \
404- --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}/chip-microwave-oven-app \
405- --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT}/chip-rvc-app \
414+ --microwave-oven-app ./objdir-clone/linux-x64-microwave-oven-${BUILD_VARIANT}-unified /chip-microwave-oven-app \
415+ --rvc-app ./objdir-clone/linux-x64-rvc-${BUILD_VARIANT-unified }/chip-rvc-app \
406416 --network-manager-app ./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
407417 --energy-gateway-app ./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
408418 --energy-management-app ./objdir-clone/linux-x64-energy-management-${BUILD_VARIANT}/chip-energy-management-app \
0 commit comments