blob: ba048759705c7facb451637c94c84d8ade0f03dd [file] [log] [blame]
steps:
- name: gcr.io/cloud-builders/git
args:
- submodule
- update
- "--init"
- "--recursive"
id: Submodules
- name: "ghcr.io/project-chip/chip-build-vscode:2"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
waitFor:
- Submodules
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
path: /pwenv
timeout: 900s
- name: "ghcr.io/project-chip/chip-build-vscode:2"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- >-
./scripts/build/build_examples.py --enable-flashbundle
--target ameba-amebad-light
--target ameba-amebad-pigweed
--target android-arm-chip-tool
--target android-arm64-chip-tool
--target android-arm64-tv-casting-app
--target android-arm64-tv-server
--target android-x64-chip-tool
--target bouffalolab-bl602-iot-matter-v1-light
--target bouffalolab-bl704ldk-light
--target bouffalolab-xt-zb6-devkit-light-rpc
--target cc13x2x7_26x2x7-lighting
--target cc13x2x7_26x2x7-lock-mtd
--target cc13x2x7_26x2x7-pump-mtd
--target cc13x2x7_26x2x7-pump-controller-mtd
--target cc13x4_26x4-lighting
--target cc13x4_26x4-lock-ftd
--target cc13x4_26x4-pump-ftd
--target cc13x4_26x4-pump-controller-ftd
--target cc13x4_26x4-lock-mtd
--target cc13x4_26x4-pump-mtd
--target cc13x4_26x4-pump-controller-mtd
--target cyw30739-cyw930739m2evb_01-ota-requestor
--target efr32-brd4161a-light-rpc
--target efr32-brd4161a-lock
--target efr32-brd4161a-switch
--target efr32-brd4161a-window-covering
--target efr32-brd4161a-unit-test
--target efr32-brd4187c-window-covering
--target esp32-c3devkit-all-clusters
--target esp32-c3devkit-all-clusters-minimal
--target esp32-devkitc-all-clusters-ipv6only
--target esp32-devkitc-all-clusters-minimal-ipv6only
--target esp32-devkitc-bridge
--target esp32-devkitc-light-rpc
--target esp32-devkitc-lock
--target esp32-devkitc-ota-requestor-rpc
--target esp32-devkitc-shell
--target esp32-m5stack-all-clusters
--target esp32-m5stack-all-clusters-ipv6only
--target esp32-m5stack-all-clusters-minimal
--target esp32-m5stack-all-clusters-minimal-ipv6only
--target esp32-m5stack-all-clusters-minimal-rpc
--target esp32-m5stack-all-clusters-minimal-rpc-ipv6only
--target esp32-m5stack-ota-requestor
--target genio-lighting-app
--target imx-all-clusters
--target imx-chip-tool
--target imx-thermostat
--target infineon-psoc6-all-clusters
--target infineon-psoc6-all-clusters-minimal
--target infineon-psoc6-light
--target infineon-psoc6-lock
--target k32w-contact
--target k32w-light-no-ota
--target k32w-lock
--target k32w-shell
build
--create-archives /workspace/artifacts/
- name: "ghcr.io/project-chip/chip-build-vscode:2"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- >-
./scripts/build/build_examples.py --enable-flashbundle
--target linux-arm64-all-clusters-clang
--target linux-arm64-all-clusters-nodeps
--target linux-arm64-all-clusters-nodeps-ipv6only
--target linux-arm64-all-clusters-ipv6only-clang
--target linux-arm64-all-clusters-minimal-clang
--target linux-arm64-all-clusters-minimal-ipv6only-clang
--target linux-arm64-bridge-ipv6only-clang
--target linux-arm64-chip-tool-clang
--target linux-arm64-chip-tool-ipv6only-clang
--target linux-arm64-chip-tool-nodeps
--target linux-arm64-chip-tool-nodeps-ipv6only
--target linux-arm64-light-clang
--target linux-arm64-light-ipv6only-clang
--target linux-arm64-light-rpc-clang
--target linux-arm64-light-rpc-ipv6only-clang
--target linux-arm64-lock-clang
--target linux-arm64-lock-ipv6only-clang
--target linux-arm64-minmdns-clang
--target linux-arm64-minmdns-clang-minmdns-verbose
--target linux-arm64-ota-provider-nodeps-ipv6only
--target linux-arm64-ota-requestor-nodeps-ipv6only
--target linux-arm64-shell-ipv6only-clang
--target linux-arm64-thermostat-ipv6only-clang
--target linux-arm64-tv-app-ipv6only-clang
--target linux-arm64-tv-casting-app-ipv6only-clang
--target linux-x64-address-resolve-tool
--target linux-x64-all-clusters
--target linux-x64-all-clusters-nodeps
--target linux-x64-all-clusters-nodeps-ipv6only
--target linux-x64-all-clusters-nodeps-ipv6only-minmdns-verbose
--target linux-x64-all-clusters-coverage
--target linux-x64-all-clusters-ipv6only
--target linux-x64-all-clusters-minimal
--target linux-x64-all-clusters-minimal-ipv6only
--target linux-x64-bridge-ipv6only
--target linux-x64-chip-cert
--target linux-x64-chip-tool
--target linux-x64-chip-tool-coverage
--target linux-x64-chip-tool-nodeps-ipv6only
--target linux-x64-chip-tool-nodeps-ipv6only-minmdns-verbose
--target linux-x64-efr32-test-runner
--target linux-x64-light-rpc-ipv6only
--target linux-x64-light-rpc-ipv6only-minmdns-verbose
--target linux-x64-lock-ipv6only
--target linux-x64-minmdns
--target linux-x64-nl-test-runner
--target linux-x64-ota-provider
--target linux-x64-ota-provider-nodeps-ipv6only
--target linux-x64-ota-requestor-nodeps-ipv6only
--target linux-x64-rpc-console
--target linux-x64-shell-ipv6only
--target linux-x64-thermostat-ipv6only
--target linux-x64-tv-app-ipv6only
--target linux-x64-tv-casting-app-ipv6only
--target mbed-CY8CPROTO_062_4343W-light-release
--target mbed-CY8CPROTO_062_4343W-lock-release
--target mbed-CY8CPROTO_062_4343W-pigweed-release
--target mw320-all-clusters
--target nrf-nrf52840dk-all-clusters
--target nrf-nrf52840dk-all-clusters-minimal
--target nrf-nrf52840dk-light-rpc
--target nrf-nrf52840dk-lock
--target nrf-nrf52840dk-pump
--target nrf-nrf52840dk-pump-controller
--target nrf-nrf52840dk-shell
--target nrf-nrf52840dongle-light
--target nrf-nrf5340dk-all-clusters
--target nrf-nrf5340dk-all-clusters-minimal
--target nrf-nrf5340dk-shell
--target qpg-qpg6105-light
--target qpg-qpg6105-shell
--target telink-tlsr9518adk80d-light
--target telink-tlsr9528a-light
--target tizen-arm-light
build
--create-archives /workspace/artifacts/
id: CompileAll
waitFor:
- Bootstrap
entrypoint: ./scripts/run_in_build_env.sh
volumes:
- name: pwenv
path: /pwenv
logsBucket: matter-build-automation-build-logs
# Global timeout for all steps
timeout: 21600s
queueTtl: 21600s
artifacts:
objects:
location: "gs://matter-build-automation-artifacts/$PROJECT_ID/$COMMIT_SHA/"
paths: ["/workspace/artifacts/*.tar.gz"]
# Using higher CPU machines generally speeds up builds, except bootstrap is always
# slow.
options:
machineType: "E2_HIGHCPU_32"
diskSizeGb: 500