Skip to content

Commit

Permalink
Reduce targets for cloudbuild smoketest (#23034)
Browse files Browse the repository at this point in the history
* Reduce targets for cloudbuild

* Restyle

* Add back missing build command

* Make smoke tests runnable in cloudbuild-local after git changes (need also git lfs)

* Make all directories safe
  • Loading branch information
andy31415 authored and pull[bot] committed Oct 13, 2022
1 parent be20299 commit 4102386
Showing 1 changed file with 53 additions and 11 deletions.
64 changes: 53 additions & 11 deletions integrations/cloudbuild/smoke-test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
steps:
- name: gcr.io/cloud-builders/git
- name: "connectedhomeip/chip-build-vscode:0.6.02"
entrypoint: 'bash'
args:
- submodule
- update
- "--init"
- "--recursive"
- '-c'
- |
git config --global --add safe.directory "*"
git submodule update --init --recursive
id: Submodules
- name: "connectedhomeip/chip-build-vscode:0.6.02"
env:
Expand All @@ -27,9 +28,14 @@ steps:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- >-
./scripts/build/build_examples.py --enable-flashbundle
--target-glob '*-m5stack-*' build --create-archives
/workspace/artifacts/
./scripts/build/build_examples.py
--enable-flashbundle
--target esp32-m5stack-all-clusters-ipv6only
--target esp32-m5stack-all-clusters-minimal-rpc-ipv6only
--target esp32-m5stack-all-clusters-rpc
--target esp32-m5stack-ota-requestor
build
--create-archives /workspace/artifacts/
waitFor:
- Bootstrap
entrypoint: ./scripts/run_in_build_env.sh
Expand Down Expand Up @@ -77,9 +83,45 @@ steps:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- >-
./scripts/build/build_examples.py --enable-flashbundle
--target-glob 'linux-*' --skip-target-glob '*-tests*' build
--create-archives /workspace/artifacts/
./scripts/build/build_examples.py
--enable-flashbundle
--target linux-arm64-clang-all-clusters
--target linux-arm64-clang-all-clusters-app-nodeps-ipv6only
--target linux-arm64-clang-all-clusters-minimal-ipv6only
--target linux-arm64-clang-bridge-ipv6only
--target linux-arm64-clang-chip-tool-ipv6only
--target linux-arm64-clang-chip-tool-nodeps-ipv6only
--target linux-arm64-clang-dynamic-bridge-ipv6only
--target linux-arm64-clang-light-rpc-ipv6only
--target linux-arm64-clang-lock-ipv6only
--target linux-arm64-clang-minmdns
--target linux-arm64-clang-ota-provider-nodeps-ipv6only
--target linux-arm64-clang-ota-requestor-nodeps-ipv6only
--target linux-arm64-clang-python-bindings
--target linux-arm64-clang-shell-ipv6only
--target linux-arm64-clang-thermostat-ipv6only
--target linux-arm64-clang-tv-app-ipv6only
--target linux-arm64-clang-tv-casting-app-ipv6only
--target linux-x64-address-resolve-tool
--target linux-x64-all-clusters-app-nodeps-ipv6only
--target linux-x64-all-clusters-coverage
--target linux-x64-bridge-ipv6only
--target linux-x64-chip-cert
--target linux-x64-chip-tool-ipv6only
--target linux-x64-dynamic-bridge-ipv6only
--target linux-x64-light-rpc-ipv6only
--target linux-x64-lock-ipv6only
--target linux-x64-minmdns-ipv6only
--target linux-x64-ota-provider-ipv6only
--target linux-x64-ota-requestor-ipv6only
--target linux-x64-python-bindings
--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
build
--create-archives /workspace/artifacts/
waitFor:
- Bootstrap
- EFR32
Expand Down

0 comments on commit 4102386

Please sign in to comment.