blob: f37063f4877199fb17c943c9f6b1a76414bc41cd [file] [log] [blame]
steps:
- name: "connectedhomeip/chip-build-vscode:0.5.58"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
path: /pwenv
timeout: 900s
- name: "connectedhomeip/chip-build-vscode:0.5.58"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- >-
./scripts/build/build_examples.py --enable-flashbundle
--target-glob '*' --skip-target-glob '*-tests' 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: 14400s
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: 200