Removing timeouts from jobs (#27447)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 0bea190..b187652 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -37,7 +37,6 @@
jobs:
build_linux_gcc_debug:
name: Build on Linux (gcc_debug)
- timeout-minutes: 85
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -88,7 +87,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -107,10 +105,8 @@
- name: Setup Build
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false"
- name: Run Build
- timeout-minutes: 20
run: scripts/run_in_build_env.sh "ninja -C ./out"
- name: Run Tests
- timeout-minutes: 30
run: scripts/tests/gn_tests.sh
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
@@ -123,17 +119,14 @@
- name: Setup Build Without Detail Logging
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false"
- name: Run Build Without Detail Logging
- timeout-minutes: 20
run: scripts/run_in_build_env.sh "ninja -C ./out"
- name: Setup Build Without Progress Logging
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false chip_progress_logging=false"
- name: Run Build Without Progress Logging
- timeout-minutes: 20
run: scripts/run_in_build_env.sh "ninja -C ./out"
- name: Setup Build Without Error Logging
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false chip_progress_logging=false chip_error_logging=false"
- name: Run Build Without Error Logging
- timeout-minutes: 20
run: scripts/run_in_build_env.sh "ninja -C ./out"
- name: Uploading core files
uses: actions/upload-artifact@v3
@@ -189,7 +182,6 @@
build_linux:
name: Build on Linux (fake, gcc_release, clang, simulated)
- timeout-minutes: 150
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -240,7 +232,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -256,7 +247,6 @@
with:
languages: "cpp"
- name: Setup and Build Simulated Device
- timeout-minutes: 20
run: |
BUILD_TYPE=simulated
GN_ARGS='chip_tests_zap_config="app1" chip_project_config_include_dirs=["../../examples/placeholder/linux/apps/app1/include", "../../config/standalone"] chip_config_network_layer_ble=false'
@@ -264,13 +254,11 @@
CHIP_ROOT_PATH="$CHIP_ROOT_PATH" BUILD_TYPE="$BUILD_TYPE" scripts/build/gn_gen.sh --args="$GN_ARGS"
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
- name: Setup Build, Run Build and Run Tests
- timeout-minutes: 90
run: |
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false"
scripts/run_in_build_env.sh "ninja -C ./out/gcc_release"
BUILD_TYPE=gcc_release scripts/tests/gn_tests.sh
- name: Run Tests with sanitizers
- timeout-minutes: 60
env:
LSAN_OPTIONS: detect_leaks=1
run: |
@@ -287,11 +275,9 @@
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
done
- name: Ensure codegen is done for sanitize
- timeout-minutes: 45
run: |
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/sanitizers"
- name: Clang-tidy validation
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/run-clang-tidy-on-compile-commands.py \
@@ -300,7 +286,6 @@
check \
"
- name: Build using build_examples.py
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -315,7 +300,6 @@
- name: Clean output
run: rm -rf ./out
- name: Build using build_examples.py (pregen)
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -337,7 +321,6 @@
rm -rf ./zzz_pregenerated
mv scripts/codegen.py.renamed scripts/codegen.py
- name: Run fake linux tests with build_examples
- timeout-minutes: 15
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target linux-fake-tests build"
@@ -395,7 +378,6 @@
build_linux_python_lib:
name: Build on Linux (python_lib)
- timeout-minutes: 60
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -441,17 +423,14 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Setup Build, Run Build and Run Tests
- timeout-minutes: 50
run: |
scripts/build/gn_gen.sh --args="enable_rtti=true enable_pylib=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false"
scripts/run_in_build_env.sh "ninja -C ./out"
scripts/tests/gn_tests.sh
- name: Run Python library specific unit tests
- timeout-minutes: 5
run: |
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/chip_core-0.0-cp37-abi3-linux_x86_64.whl'
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/chip_clusters-0.0-py3-none-any.whl'
@@ -459,7 +438,6 @@
scripts/run_in_build_env.sh '(cd src/controller/python/test/unit_tests/ && python3 -m unittest -v)'
- name: Run Python Setup Payload Generator Test
- timeout-minutes: 20
run: |
scripts/run_in_build_env.sh 'scripts/examples/gn_build_example.sh examples/chip-tool out/'
scripts/run_in_build_env.sh 'pip3 install -r src/setup_payload/python/requirements.txt'
@@ -467,7 +445,6 @@
build_darwin:
name: Build on Darwin (clang, python_lib, simulated)
- timeout-minutes: 200
runs-on: macos-latest
if: github.actor != 'restyled-io[bot]'
@@ -500,7 +477,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -517,7 +493,6 @@
with:
languages: "cpp"
- name: Setup and Build Simulated Device
- timeout-minutes: 20
run: |
BUILD_TYPE=simulated
GN_ARGS='chip_tests_zap_config="app1" chip_project_config_include_dirs=["../../examples/placeholder/linux/apps/app1/include", "../../config/standalone"] chip_config_network_layer_ble=false'
@@ -525,7 +500,6 @@
CHIP_ROOT_PATH="$CHIP_ROOT_PATH" BUILD_TYPE="$BUILD_TYPE" scripts/build/gn_gen.sh --args="$GN_ARGS"
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
- name: Setup Build, Run Build and Run Tests
- timeout-minutes: 120
# We can't enable leak checking here in LSAN_OPTIONS, because on
# Darwin that's only supported with a new enough clang, and we're
# not building with the pigweed clang here.
@@ -547,11 +521,9 @@
BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh
done
- name: Ensure codegen is done for sanitize
- timeout-minutes: 45
run: |
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/default"
- name: Clang-tidy validation
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/run-clang-tidy-on-compile-commands.py \
@@ -599,7 +571,6 @@
build_linux_gcc_coverage:
name: Build on Linux (coverage)
- timeout-minutes: 85
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -637,7 +608,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -649,5 +619,4 @@
.environment/pigweed-venv/*.log
- name: Run Build Coverage
- timeout-minutes: 30
run: ./scripts/build_coverage.sh
diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml
index 7b2dcc9..fae5880 100644
--- a/.github/workflows/chef.yaml
+++ b/.github/workflows/chef.yaml
@@ -63,7 +63,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: CI Examples Linux
shell: bash
@@ -104,7 +103,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: CI Examples ESP32
shell: bash
@@ -145,7 +143,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: CI Examples NRFConnect
shell: bash
diff --git a/.github/workflows/cirque.yaml b/.github/workflows/cirque.yaml
index 9f51395..8388e90 100644
--- a/.github/workflows/cirque.yaml
+++ b/.github/workflows/cirque.yaml
@@ -32,7 +32,6 @@
jobs:
cirque:
name: Cirque
- timeout-minutes: 90
env:
DOCKER_RUN_VERSION: 0.7.3
@@ -79,7 +78,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 15
run: |
integrations/docker/images/chip-build-cirque/run.sh \
-- sh -c " \
@@ -94,8 +92,8 @@
- uses: Wandalen/wretry.action@v1.3.0
name: Cirque Bootstrap cache
if: ${{ !env.ACT }}
- timeout-minutes: 10
continue-on-error: true
+ timeout-minutes: 10
with:
action: buildjet/cache@v3
attempt_limit: 3
@@ -105,7 +103,6 @@
restore-keys: ${{ runner.os }}-cirque-
path: ${{ env.GITHUB_CACHE_PATH }}
- name: Cirque Bootstrap
- timeout-minutes: 15
run: |
integrations/docker/images/chip-build-cirque/run.sh \
--env GITHUB_ACTION_RUN=1 \
@@ -122,7 +119,6 @@
if_true: "${{ github.sha }}"
if_false: "pull-${{ github.event.pull_request.number }}"
- name: Build Binaries
- timeout-minutes: 30
run: |
integrations/docker/images/chip-build-cirque/run.sh \
-- sh -c " \
@@ -130,7 +126,6 @@
&& scripts/build/gn_gen_cirque.sh \
"
- name: Run Tests
- timeout-minutes: 45
run: |
integrations/docker/images/chip-build-cirque/run.sh \
--env LOG_DIR=/tmp/cirque_test_output \
diff --git a/.github/workflows/darwin-tests.yaml b/.github/workflows/darwin-tests.yaml
index 031263c..885f935 100644
--- a/.github/workflows/darwin-tests.yaml
+++ b/.github/workflows/darwin-tests.yaml
@@ -34,7 +34,6 @@
jobs:
test_suites_chip_tool_darwin:
name: Test Suites - Darwin
- timeout-minutes: 150
strategy:
matrix:
@@ -82,7 +81,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -112,7 +110,6 @@
run: xcodebuild clean
working-directory: src/darwin/Framework
- name: Build Apps
- timeout-minutes: 90
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -127,7 +124,6 @@
--copy-artifacts-to objdir-clone \
"
- name: Run Tests
- timeout-minutes: 65
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
@@ -144,7 +140,6 @@
--bridge-app ./out/darwin-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
"
- name: Run OTA Test
- timeout-minutes: 5
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_darwin_framework_ota_test.py \
diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml
index 6cbfde3..1ec153e 100644
--- a/.github/workflows/darwin.yaml
+++ b/.github/workflows/darwin.yaml
@@ -32,7 +32,6 @@
jobs:
darwin:
name: Build Darwin
- timeout-minutes: 300
if: github.actor != 'restyled-io[bot]'
runs-on: macos-latest
@@ -65,7 +64,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -83,7 +81,6 @@
# run_in_build_env.sh is used to ensure PATH is set to something that would otherwise find zap-cli
run: scripts/run_in_build_env.sh '(zap-cli --version && exit 1) || exit 0'
- name: Run iOS Build Debug
- timeout-minutes: 50
working-directory: src/darwin/Framework
# For now disable unguarded-availability-new warnings because we
# internally use APIs that we are annotating as only available on
@@ -91,7 +88,6 @@
# target versions instead?
run: xcodebuild -target "Matter" -sdk iphoneos OTHER_CFLAGS='${inherited} -Wno-unguarded-availability-new'
- name: Run iOS Build Release
- timeout-minutes: 50
working-directory: src/darwin/Framework
# For now disable unguarded-availability-new warnings because we
# internally use APIs that we are annotating as only available on
@@ -105,7 +101,6 @@
run: defaults delete com.apple.dt.xctest.tool
continue-on-error: true
- name: Run macOS Build
- timeout-minutes: 70
# Enable -Werror by hand here, because the Xcode config can't
# enable it for various reasons. Keep whatever Xcode settings
# for OTHER_CFLAGS exist by using ${inherited}.
@@ -126,27 +121,22 @@
- name: Validate zap-cli is again available
run: scripts/run_in_build_env.sh 'zap-cli --version'
- name: Build example All Clusters Server
- timeout-minutes: 15
run: |
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug chip_config_network_layer_ble=false
- name: Build example OTA Provider
- timeout-minutes: 10
run: |
scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug chip_config_network_layer_ble=false
- name: Build OTA image files with software version number 5
- timeout-minutes: 10
run: |
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false non_spec_compliant_ota_action_delay_floor=0 chip_device_config_device_software_version=5 chip_device_config_device_software_version_string='"5.0"'
cp out/debug/chip-ota-requestor-app /tmp/ota-test005-raw-image
- name: Build example OTA Requestor
- timeout-minutes: 10
run: |
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false non_spec_compliant_ota_action_delay_floor=0
- name: Delete Defaults
run: defaults delete com.apple.dt.xctest.tool
continue-on-error: true
- name: Run Framework Tests
- timeout-minutes: 30
# For now disable unguarded-availability-new warnings because we
# internally use APIs that we are annotating as only available on
# new enough versions. Maybe we should change out deployment
@@ -168,7 +158,6 @@
xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx -enableThreadSanitizer YES OTHER_CFLAGS='${inherited} -Werror -Wconversion -Wno-unguarded-availability-new' CHIP_IS_TSAN=YES > >(tee /tmp/darwin/framework-tests/darwin-tests-tsan.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-tsan-err.log >&2)
working-directory: src/darwin/Framework
- name: Build Matter TV Casting Bridge
- timeout-minutes: 35
run: |
xcodebuild -target "MatterTvCastingBridge" -sdk iphoneos
working-directory: examples/tv-casting-app/darwin/MatterTvCastingBridge
diff --git a/.github/workflows/doxygen.yaml b/.github/workflows/doxygen.yaml
index 15c5477..b65b2c0 100644
--- a/.github/workflows/doxygen.yaml
+++ b/.github/workflows/doxygen.yaml
@@ -78,7 +78,6 @@
jobs:
doxygen:
name: Build Doxygen
- timeout-minutes: 5
runs-on: ubuntu-latest
container:
diff --git a/.github/workflows/examples-bouffalolab.yaml b/.github/workflows/examples-bouffalolab.yaml
index b7e3e4f..9d5920f 100644
--- a/.github/workflows/examples-bouffalolab.yaml
+++ b/.github/workflows/examples-bouffalolab.yaml
@@ -32,7 +32,6 @@
jobs:
bouffalolab:
name: Bouffalo Lab
- timeout-minutes: 90
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -62,7 +61,6 @@
- uses: Wandalen/wretry.action@v1.3.0
name: Bootstrap cache
continue-on-error: true
- timeout-minutes: 20
with:
action: buildjet/cache@v3
attempt_limit: 3
@@ -73,7 +71,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -85,7 +82,6 @@
.environment/pigweed-venv/*.log
- name: Build example BL602 Lighting App
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -108,7 +104,6 @@
run: rm -rf ./out
- name: Build example BL702 Lighting App
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
diff --git a/.github/workflows/examples-cc13x2x7_26x2x7.yaml b/.github/workflows/examples-cc13x2x7_26x2x7.yaml
index 09e4cbc..3661bc8 100644
--- a/.github/workflows/examples-cc13x2x7_26x2x7.yaml
+++ b/.github/workflows/examples-cc13x2x7_26x2x7.yaml
@@ -30,7 +30,6 @@
jobs:
cc26x2x7:
name: cc26x2x7
- timeout-minutes: 120
env:
BUILD_TYPE: gn_cc26x2x7
@@ -76,7 +75,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -88,7 +86,6 @@
.environment/pigweed-venv/*.log
- name: Build examples
- timeout-minutes: 100
run: |
scripts/run_in_build_env.sh "\
./scripts/build/build_examples.py \
@@ -107,56 +104,48 @@
--copy-artifacts-to out/artifacts \
"
- name: Get lock MTD size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 lock-mtd \
out/artifacts/ti-cc13x2x7_26x2x7-lock-mtd/chip-LP_CC2652R7-lock-example.out \
/tmp/bloat_reports/
- name: Get Pump App size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 pump-app \
out/artifacts/ti-cc13x2x7_26x2x7-pump-mtd/chip-LP_CC2652R7-pump-example.out \
/tmp/bloat_reports/
- name: Get Pump Controller App size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 pump-controller-app \
out/artifacts/ti-cc13x2x7_26x2x7-pump-controller-mtd/chip-LP_CC2652R7-pump-controller-example.out \
/tmp/bloat_reports/
- name: Get lock FTD size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x4_26x4 LP_EM_CC1354P10_6 lock-ftd \
out/artifacts/ti-cc13x4_26x4-lock-ftd/chip-LP_EM_CC1354P10_6-lock-example.out \
/tmp/bloat_reports/
- name: Get lock MTD size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x4_26x4 LP_EM_CC1354P10_6 lock-mtd \
out/artifacts/ti-cc13x4_26x4-lock-mtd/chip-LP_EM_CC1354P10_6-lock-example.out \
/tmp/bloat_reports/
- name: Get Pump App size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x4_26x4 LP_EM_CC1354P10_6 pump-app \
out/artifacts/ti-cc13x4_26x4-pump-mtd/chip-LP_EM_CC1354P10_6-pump-example.out \
/tmp/bloat_reports/
- name: Get Pump Controller App size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x4_26x4 LP_EM_CC1354P10_6 pump-controller-app \
out/artifacts/ti-cc13x4_26x4-pump-controller-mtd/chip-LP_EM_CC1354P10_6-pump-controller-example.out \
/tmp/bloat_reports/
- name: Get Lighting App size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x4_26x4 LP_EM_CC1354P10_6 lighting-app \
diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml
index 07ca544..027b9fb 100644
--- a/.github/workflows/examples-cc32xx.yaml
+++ b/.github/workflows/examples-cc32xx.yaml
@@ -31,7 +31,6 @@
jobs:
cc32xx:
name: cc32xx
- timeout-minutes: 100
env:
BUILD_TYPE: gn_cc32xx
@@ -74,7 +73,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -86,7 +84,6 @@
.environment/pigweed-venv/*.log
- name: Build examples
- timeout-minutes: 60
run: |
scripts/run_in_build_env.sh "\
./scripts/build/build_examples.py \
@@ -94,7 +91,6 @@
--copy-artifacts-to out/artifacts \
"
- name: Get lock app size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc32xx CC3235SF_LAUNCHXL lock \
diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml
index 16748a8..89e52ab 100644
--- a/.github/workflows/examples-efr32.yaml
+++ b/.github/workflows/examples-efr32.yaml
@@ -31,7 +31,6 @@
jobs:
efr32:
name: EFR32
- timeout-minutes: 110
env:
SILABS_BOARD: BRD4161A
@@ -68,7 +67,6 @@
- uses: Wandalen/wretry.action@v1.3.0
name: Bootstrap cache
continue-on-error: true
- timeout-minutes: 20
with:
action: buildjet/cache@v3
attempt_limit: 3
@@ -79,7 +77,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -90,13 +87,11 @@
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
# - name: Test SLC gen
- # timeout-minutes: 30
# run: |
# scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4187C --slc_generate --docker
# scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4164A --slc_generate --docker
# rm -rf ./out/
- name: Build some BRD4187C variants
- timeout-minutes: 90
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -124,7 +119,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build example EFR32+WF200 WiFi Lock app for BRD4161A
- timeout-minutes: 15
run: |
scripts/examples/gn_silabs_example.sh examples/lock-app/silabs out/lock_app_wifi_wf200 BRD4161A is_debug=false chip_logging=false --wifi wf200 --docker
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py efr32 BRD4161A+wf200 lock-app \
@@ -132,7 +126,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build example EFR32+RS9116 WiFi Lighting app for BRD4161A
- timeout-minutes: 15
run: |
scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs out/lighting_app_wifi_rs9116 BRD4161A --wifi rs9116 --docker
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py efr32 BRD4161A+rs9116 lighting-app \
diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml
index a294cda..9f941b9 100644
--- a/.github/workflows/examples-esp32.yaml
+++ b/.github/workflows/examples-esp32.yaml
@@ -31,7 +31,6 @@
jobs:
esp32:
name: ESP32
- timeout-minutes: 120
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -73,7 +72,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -85,7 +83,6 @@
.environment/pigweed-venv/*.log
- name: Build some M5Stack variations
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -107,7 +104,6 @@
- name: Clean output
run: rm -rf ./out
- name: Build some M5Stack variations with pregen
- timeout-minutes: 60
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -131,7 +127,6 @@
rm -rf ./zzz_pregenerated
mv scripts/codegen.py.renamed scripts/codegen.py
- name: Build example All Clusters App C3
- timeout-minutes: 15
run: scripts/examples/esp_example.sh all-clusters-app sdkconfig_c3devkit.defaults
- name: Copy aside build products
run: |
@@ -143,13 +138,10 @@
example_binaries/esp32-build/chip-all-clusters-app.elf \
/tmp/bloat_reports/
- name: Build example Pigweed App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh pigweed-app sdkconfig.defaults
- name: Build example Lighting App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh lighting-app sdkconfig.defaults
- name: Build example Lock App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh lock-app sdkconfig.defaults
- name: Uploading Size Reports
@@ -161,7 +153,6 @@
esp32_1:
name: ESP32_1
- timeout-minutes: 90
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -197,7 +188,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -209,25 +199,19 @@
.environment/pigweed-venv/*.log
- name: Build example Bridge App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh bridge-app
- name: Build example Persistent Storage App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh persistent-storage sdkconfig.defaults
- name: Build example Shell App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh shell sdkconfig.defaults
- name: Build example Temperature Measurement App
- timeout-minutes: 15
run: scripts/examples/esp_example.sh temperature-measurement-app sdkconfig.optimize.defaults
- name: Build example OTA Requestor App
run: scripts/examples/esp_example.sh ota-requestor-app sdkconfig.defaults
- timeout-minutes: 15
- name: Build example OTA Provider App
run: scripts/examples/esp_example.sh ota-provider-app sdkconfig.defaults
- timeout-minutes: 15
diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml
index 8870d3a..b5045a8 100644
--- a/.github/workflows/examples-infineon.yaml
+++ b/.github/workflows/examples-infineon.yaml
@@ -32,7 +32,6 @@
jobs:
infineon:
name: Infineon examples building
- timeout-minutes: 140
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -73,7 +72,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -85,7 +83,6 @@
.environment/pigweed-venv/*.log
- name: Build PSoC6 lock-app example
- timeout-minutes: 15
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py \
@@ -99,7 +96,6 @@
out/artifacts/infineon-psoc6-lock/chip-psoc6-lock-example.out \
/tmp/bloat_reports/
- name: Build PSoC6 all-clusters-app example
- timeout-minutes: 20
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py \
@@ -113,7 +109,6 @@
out/artifacts/infineon-psoc6-all-clusters/chip-psoc6-clusters-example.out \
/tmp/bloat_reports/
- name: Build PSoC6 all-clusters-minimal-app example
- timeout-minutes: 20
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py \
@@ -127,7 +122,6 @@
out/artifacts/infineon-psoc6-all-clusters-minimal/chip-psoc6-clusters-minimal-example.out \
/tmp/bloat_reports/
- name: Build PSoC6 lighting-app example
- timeout-minutes: 15
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py \
@@ -142,7 +136,6 @@
/tmp/bloat_reports/
- name: Build example CYW30739 Apps
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -154,28 +147,24 @@
--copy-artifacts-to out/artifacts \
"
- name: Get light size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 light \
out/artifacts/cyw30739-cyw930739m2evb_01-light/chip-cyw30739-lighting-example.elf \
/tmp/bloat_reports/
- name: Get lock size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 lock \
out/artifacts/cyw30739-cyw930739m2evb_01-lock/chip-cyw30739-lock-example.elf \
/tmp/bloat_reports/
- name: Get ota-requestor size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 ota-requestor \
out/artifacts/cyw30739-cyw930739m2evb_01-ota-requestor/chip-cyw30739-ota-requestor-example.elf \
/tmp/bloat_reports/
- name: Get switch size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 switch \
diff --git a/.github/workflows/examples-k32w.yaml b/.github/workflows/examples-k32w.yaml
index 0a1a520..656b097 100644
--- a/.github/workflows/examples-k32w.yaml
+++ b/.github/workflows/examples-k32w.yaml
@@ -31,7 +31,6 @@
jobs:
k32w:
name: K32W
- timeout-minutes: 90
env:
BUILD_TYPE: gn_k32w
@@ -75,7 +74,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -87,7 +85,6 @@
.environment/pigweed-venv/*.log
- name: Build examples
- timeout-minutes: 70
run: |
scripts/run_in_build_env.sh "\
./scripts/build/build_examples.py \
@@ -101,21 +98,18 @@
--copy-artifacts-to out/artifacts \
"
- name: Get light size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
k32w k32w0+release light \
out/artifacts/k32w-light-crypto-platform-tokenizer/chip-k32w0x-light-example \
/tmp/bloat_reports/
- name: Get lock size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
k32w k32w0+release lock \
out/artifacts/k32w-lock-crypto-platform-tokenizer/chip-k32w0x-lock-example \
/tmp/bloat_reports/
- name: Get contact size stats
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
k32w k32w0+release contact \
diff --git a/.github/workflows/examples-linux-arm.yaml b/.github/workflows/examples-linux-arm.yaml
index 3fb3655..1e8b9af 100644
--- a/.github/workflows/examples-linux-arm.yaml
+++ b/.github/workflows/examples-linux-arm.yaml
@@ -31,7 +31,6 @@
jobs:
arm_crosscompile:
name: Linux ARM Cross compile
- timeout-minutes: 70
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -73,7 +72,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -85,7 +83,6 @@
.environment/pigweed-venv/*.log
- name: Build Some samples
- timeout-minutes: 45
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -99,14 +96,12 @@
build \
"
- name: Bloat report - chip-tool
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
linux arm64 chip-tool-ipv6only \
out/linux-arm64-chip-tool-ipv6only-clang/chip-tool \
/tmp/bloat_reports/
- name: Bloat report - thermostat
- timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
linux arm64 thermostat-no-ble \
diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml
index 244e080..8a9a69d 100644
--- a/.github/workflows/examples-linux-imx.yaml
+++ b/.github/workflows/examples-linux-imx.yaml
@@ -31,7 +31,6 @@
jobs:
imx:
name: Linux i.MX Build
- timeout-minutes: 70
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -68,7 +67,6 @@
run: bash scripts/bootstrap.sh
- name: Build lighting-app
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -77,7 +75,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build chip-tool
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -86,7 +83,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build thermostat
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -95,7 +91,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build all-cluster
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -104,7 +99,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build all-cluster-minimal
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -113,7 +107,6 @@
- name: Clean out build output
run: rm -rf ./out
- name: Build ota-provider-app
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml
index c42d1ad..b6b125f 100644
--- a/.github/workflows/examples-linux-standalone.yaml
+++ b/.github/workflows/examples-linux-standalone.yaml
@@ -31,7 +31,6 @@
jobs:
linux_standalone:
name: Linux Standalone
- timeout-minutes: 90
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -73,7 +72,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/examples-mbed.yaml b/.github/workflows/examples-mbed.yaml
index 4499e32..46b5c6f 100644
--- a/.github/workflows/examples-mbed.yaml
+++ b/.github/workflows/examples-mbed.yaml
@@ -32,7 +32,6 @@
jobs:
mbedos:
name: Mbed OS examples building
- timeout-minutes: 200
env:
BUILD_TYPE: mbedos
@@ -89,7 +88,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -101,7 +99,6 @@
.environment/pigweed-venv/*.log
- name: Build lock-app example
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=lock-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -112,7 +109,6 @@
- name: Build lighting-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=lighting-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -123,7 +119,6 @@
- name: Build pigweed-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.pigweedapp == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=pigweed-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -134,7 +129,6 @@
- name: Build all-clusters-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=all-clusters-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -145,7 +139,6 @@
- name: Build all-clusters-minimal-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=all-clusters-minimal-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -156,7 +149,6 @@
- name: Build shell example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=shell -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -167,7 +159,6 @@
- name: Build ota-requestor-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
- timeout-minutes: 20
run: |
scripts/examples/mbed_example.sh -a=ota-requestor-app -b=$APP_TARGET -p=$APP_PROFILE
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -179,7 +170,6 @@
- name: Build unit tests
# Temporarily disable build due to running out of flash space
if: false
- timeout-minutes: 20
run: scripts/tests/mbed/mbed_unit_tests.sh -b=$APP_TARGET -p=$APP_PROFILE
- name: Uploading Size Reports
diff --git a/.github/workflows/examples-mw320.yaml b/.github/workflows/examples-mw320.yaml
index 2533348..743167a 100755
--- a/.github/workflows/examples-mw320.yaml
+++ b/.github/workflows/examples-mw320.yaml
@@ -31,7 +31,6 @@
jobs:
mw320:
name: MW320
- timeout-minutes: 60
env:
BUILD_TYPE: gn_mw320
@@ -75,7 +74,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -87,7 +85,6 @@
.environment/pigweed-venv/*.log
- name: Build MW320 all clusters example app
- timeout-minutes: 20
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml
index df4155a..f7d17fb 100644
--- a/.github/workflows/examples-nrfconnect.yaml
+++ b/.github/workflows/examples-nrfconnect.yaml
@@ -31,7 +31,6 @@
jobs:
nrfconnect:
name: nRF Connect SDK
- timeout-minutes: 140
env:
BUILD_TYPE: nrfconnect
@@ -88,7 +87,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -100,16 +98,13 @@
.environment/pigweed-venv/*.log
- name: Check nRF Connect SDK revision.
- timeout-minutes: 15
run: scripts/run_in_build_env.sh "python3 scripts/setup/nrfconnect/update_ncs.py --check"
- name: Run unit tests of factory data generation script
- timeout-minutes: 15
run: |
scripts/run_in_build_env.sh 'pip3 install -r scripts/setup/requirements.nrfconnect.txt'
scripts/run_in_build_env.sh "./scripts/tools/nrfconnect/tests/test_generate_factory_data.py"
- name: Build example nRF Connect SDK Lock App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lock-app nrf52840dk_nrf52840
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -118,7 +113,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF52840 Dongle
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf52840dongle_nrf52840 -DCONF_FILE=prj_no_dfu.conf -DCONFIG_CHIP_ROTATING_DEVICE_ID=y
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -127,7 +121,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF52840 DK with RPC
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf52840dk_nrf52840 -DOVERLAY_CONFIG=rpc.overlay
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -136,7 +129,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Light Switch App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh light-switch-app nrf52840dk_nrf52840
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -145,7 +137,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Shell on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.shell == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh shell nrf52840dk_nrf52840
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -154,7 +145,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Pump App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh pump-app nrf52840dk_nrf52840
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -163,7 +153,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Pump Controller App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh pump-controller-app nrf52840dk_nrf52840
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -171,7 +160,6 @@
examples/pump-controller-app/nrfconnect/build/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: Build example nRF Connect SDK All Clusters App on nRF52840 DK
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh all-clusters-app nrf52840dk_nrf52840 -DCONF_FILE=prj_dfu.conf
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -179,7 +167,6 @@
examples/all-clusters-app/nrfconnect/build/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: Build example nRF Connect SDK All Clusters Minimal App on nRF52840 DK
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh all-clusters-minimal-app nrf52840dk_nrf52840 -DCONF_FILE=prj_dfu.conf
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -188,7 +175,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lock App on nRF5340 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lock-app nrf5340dk_nrf5340_cpuapp
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -197,7 +183,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF5340 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf5340dk_nrf5340_cpuapp
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -206,7 +191,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lock App on nRF7002 PDK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh lock-app nrf7002dk_nrf5340_cpuapp
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -215,7 +199,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Light Switch App on nRF7002 PDK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh light-switch-app nrf7002dk_nrf5340_cpuapp
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -224,7 +207,6 @@
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF7002 PDK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf7002dk_nrf5340_cpuapp
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -232,7 +214,6 @@
examples/light-switch-app/nrfconnect/build/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: Build example nRF Connect SDK All Clusters App on nRF7002 PDK
- timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh all-clusters-app nrf7002dk_nrf5340_cpuapp -DCONF_FILE=prj_release.conf
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -241,7 +222,6 @@
/tmp/bloat_reports/
- name: Run unit tests for Zephyr native_posix_64 platform
if: github.event_name == 'push' || steps.changed_paths.outputs.tests == 'true' || steps.changed_paths.outputs.nrfconnect == 'true'
- timeout-minutes: 15
run: |
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target nrf-native-posix-64-tests build"
- name: Uploading Failed Test Logs
diff --git a/.github/workflows/examples-openiotsdk.yaml b/.github/workflows/examples-openiotsdk.yaml
index ceb24a8..ebbafce 100644
--- a/.github/workflows/examples-openiotsdk.yaml
+++ b/.github/workflows/examples-openiotsdk.yaml
@@ -32,7 +32,6 @@
jobs:
openiotsdk:
name: Open IoT SDK examples building
- timeout-minutes: 120
env:
TEST_NETWORK_NAME: OIStest
@@ -78,18 +77,15 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Build and install Python controller
- timeout-minutes: 10
run: |
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv'
scripts/run_in_python_env.sh out/venv 'pip install -r scripts/setup/requirements.openiotsdk.txt'
- name: Build shell example
id: build_shell
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh shell
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -99,7 +95,6 @@
- name: Build lock-app example (mbedtls)
id: build_lock_app_mbedtls
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh -b mbedtls lock-app
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -109,20 +104,17 @@
- name: Build unit tests (mbedtls)
id: build_unit_tests_mbedtls
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh -b mbedtls unit-tests
- name: "Test: shell example"
if: steps.build_shell.outcome == 'success'
- timeout-minutes: 5
run: |
scripts/run_in_python_env.sh out/venv \
'scripts/examples/openiotsdk_example.sh --no-activate -C test shell'
- name: "Test: lock-app example (mbedtls)"
if: steps.build_lock_app_mbedtls.outcome == 'success'
- timeout-minutes: 5
run: |
scripts/setup/openiotsdk/network_setup.sh -n $TEST_NETWORK_NAME up
scripts/run_in_python_env.sh out/venv \
@@ -131,14 +123,12 @@
- name: "Test: unit-tests (mbedtls)"
if: steps.build_unit_tests_mbedtls.outcome == 'success'
- timeout-minutes: 40
run: |
scripts/run_in_python_env.sh out/venv \
'scripts/examples/openiotsdk_example.sh --no-activate -C test unit-tests'
- name: Build lock-app example (psa)
id: build_lock_app_psa
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh -c -b psa lock-app
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
@@ -148,13 +138,11 @@
- name: Build unit tests (psa)
id: build_unit_tests_psa
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh -b psa unit-tests
- name: "Test: lock-app example (psa)"
if: steps.build_lock_app_psa.outcome == 'success'
- timeout-minutes: 5
run: |
scripts/setup/openiotsdk/network_setup.sh -n $TEST_NETWORK_NAME up
scripts/run_in_python_env.sh out/venv \
@@ -163,7 +151,6 @@
- name: "Test: unit-tests (psa)"
if: steps.build_unit_tests_psa.outcome == 'success'
- timeout-minutes: 40
run: |
scripts/run_in_python_env.sh out/venv \
'scripts/examples/openiotsdk_example.sh --no-activate -C test unit-tests'
diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml
index 4516f6d..4e52258 100644
--- a/.github/workflows/examples-qpg.yaml
+++ b/.github/workflows/examples-qpg.yaml
@@ -31,7 +31,6 @@
jobs:
qpg:
name: QPG
- timeout-minutes: 60
env:
BUILD_TYPE: gn_qpg
@@ -75,7 +74,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -87,7 +85,6 @@
.environment/pigweed-venv/*.log
- name: Build QPG6105 example apps
- timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -100,7 +97,6 @@
--copy-artifacts-to out/artifacts \
"
- name: Build Matter SDK library
- timeout-minutes: 10
run: |
config/qpg/chip-gn/build.sh
diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml
index da8b71d..9d78907 100644
--- a/.github/workflows/examples-telink.yaml
+++ b/.github/workflows/examples-telink.yaml
@@ -74,7 +74,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Build example Telink All Clusters App
diff --git a/.github/workflows/full-android.yaml b/.github/workflows/full-android.yaml
index c3ba703..2815716 100644
--- a/.github/workflows/full-android.yaml
+++ b/.github/workflows/full-android.yaml
@@ -30,7 +30,6 @@
jobs:
full_android:
name: Run
- timeout-minutes: 120
env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/
@@ -79,7 +78,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/fuzzing-build.yaml b/.github/workflows/fuzzing-build.yaml
index 11f67a9..7d3aefa 100644
--- a/.github/workflows/fuzzing-build.yaml
+++ b/.github/workflows/fuzzing-build.yaml
@@ -30,7 +30,6 @@
jobs:
build_linux_fuzzing:
name: Build on Linux
- timeout-minutes: 90
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
@@ -70,7 +69,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -82,7 +80,6 @@
.environment/pigweed-venv/*.log
- name: Build all-clusters-app
- timeout-minutes: 20
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -101,7 +98,6 @@
build_darwin_fuzzing:
name: Build on Darwin
- timeout-minutes: 90
runs-on: macos-latest
if: github.actor != 'restyled-io[bot]'
@@ -135,7 +131,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -147,7 +142,6 @@
.environment/pigweed-venv/*.log
- name: Build all-clusters-app
- timeout-minutes: 20
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml
index f4fecdd..af87116 100644
--- a/.github/workflows/java-tests.yaml
+++ b/.github/workflows/java-tests.yaml
@@ -34,7 +34,6 @@
jobs:
java_tests_linux:
name: Linux
- timeout-minutes: 130
env:
TSAN_OPTIONS: "halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
@@ -73,7 +72,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -84,7 +82,6 @@
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Generate unit tests
- timeout-minutes: 2
run: |
scripts/run_in_build_env.sh \
'./scripts/build/build_examples.py \
@@ -92,11 +89,9 @@
gen \
'
- name: Build unit tests
- timeout-minutes: 30
run: scripts/run_in_build_env.sh 'ninja -C out/linux-x64-tests src:java_controller_tests'
- name: Run unit tests
- timeout-minutes: 15
# TODO: this direct path loading is not maintainable. Our build system should define and
# support test classes.
run: |
@@ -109,7 +104,6 @@
chip.jsontlv.JsonToTlvToJsonTest \
chip.onboardingpayload.ManualCodeTest
- name: Build Java Matter Controller and all clusters app
- timeout-minutes: 60
run: |
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv'
scripts/run_in_python_env.sh out/venv 'pip install -r scripts/setup/requirements.build.txt'
@@ -121,7 +115,6 @@
build \
"
- name: Run Discover Commissionables Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -133,7 +126,6 @@
--factoryreset \
'
- name: Run Pairing Onnetwork Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -145,7 +137,6 @@
--factoryreset \
'
- name: Run IM Invoke Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -157,7 +148,6 @@
--factoryreset \
'
- name: Run IM Read Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -169,7 +159,6 @@
--factoryreset \
'
- name: Run IM Write Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -181,7 +170,6 @@
--factoryreset \
'
- name: Run IM Subscribe Test
- timeout-minutes: 15
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -193,7 +181,6 @@
--factoryreset \
'
- name: Run Pairing AlreadyDiscovered Test
- timeout-minutes: 25
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -206,7 +193,6 @@
'
# Disabled due to failure: https://github.com/project-chip/connectedhomeip/issues/27361
# - name: Run Pairing Address-PaseOnly Test
- # timeout-minutes: 25
# run: |
# scripts/run_in_python_env.sh out/venv \
# './scripts/tests/run_java_test.py \
@@ -218,7 +204,6 @@
# --factoryreset \
# '
- name: Run Pairing SetupQRCode Test
- timeout-minutes: 25
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
@@ -230,7 +215,6 @@
--factoryreset \
'
- name: Run Pairing ManualCode Test
- timeout-minutes: 25
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index f9585f3..9b442b2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -73,7 +73,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Check for matter lint errors
diff --git a/.github/workflows/minimal-build.yaml b/.github/workflows/minimal-build.yaml
index c04a298..0a209fe 100644
--- a/.github/workflows/minimal-build.yaml
+++ b/.github/workflows/minimal-build.yaml
@@ -26,7 +26,6 @@
jobs:
minimal:
name: Linux / configure build of all-clusters-app
- timeout-minutes: 60
if: github.actor != 'restyled-io[bot]'
runs-on: ubuntu-latest
@@ -46,6 +45,5 @@
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux
- name: Configure and build All Clusters App
- timeout-minutes: 10
run: |
CC=gcc CXX=g++ scripts/configure --project=examples/all-clusters-app/linux && ./ninja-build
diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml
index 5b40888..7b5a81e 100644
--- a/.github/workflows/qemu.yaml
+++ b/.github/workflows/qemu.yaml
@@ -32,7 +32,6 @@
qemu-esp32:
name: ESP32
- timeout-minutes: 85
env:
BUILD_TYPE: esp32-qemu
@@ -71,7 +70,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -83,7 +81,6 @@
.environment/pigweed-venv/*.log
- name: Build ESP32 QEMU test images
- timeout-minutes: 20
run: |
scripts/run_in_build_env.sh " \
./scripts/build/build_examples.py \
@@ -91,7 +88,6 @@
build \
"
- name: Run all tests
- timeout-minutes: 40
run: |
src/test_driver/esp32/run_qemu_image.py \
--verbose \
@@ -140,7 +136,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Build and run tests
diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml
index b1cbf95..cfc9280 100644
--- a/.github/workflows/release_artifacts.yaml
+++ b/.github/workflows/release_artifacts.yaml
@@ -62,7 +62,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -122,7 +121,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/smoketest-android.yaml b/.github/workflows/smoketest-android.yaml
index c00e2ec..5e8335f 100644
--- a/.github/workflows/smoketest-android.yaml
+++ b/.github/workflows/smoketest-android.yaml
@@ -31,7 +31,6 @@
jobs:
android:
name: Smoke Run - Android
- timeout-minutes: 60
env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/
@@ -70,7 +69,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 0254f6c..3d87c5e 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -34,7 +34,6 @@
jobs:
test_suites_linux:
name: Test Suites - Linux
- timeout-minutes: 180
strategy:
matrix:
@@ -96,7 +95,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -108,7 +106,6 @@
.environment/pigweed-venv/*.log
- name: Validate that xml are parsable
- timeout-minutes: 10
# The sub-items being run here are the same as the input XMLs listed
# at src/app/zap-templates/zcl/zcl.json
#
@@ -214,7 +211,6 @@
src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml \
"
- name: Build Apps
- timeout-minutes: 60
run: |
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv --include_yamltests'
scripts/run_in_python_env.sh out/venv 'pip install -r scripts/setup/requirements.build.txt'
@@ -232,7 +228,6 @@
--copy-artifacts-to objdir-clone \
"
- name: Run Tests
- timeout-minutes: 65
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
@@ -249,7 +244,6 @@
"
- name: Run Tests using the python parser sending commands to chip-tool
- timeout-minutes: 65
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
@@ -267,7 +261,6 @@
"
- name: Run Tests using chip-repl (skip slow)
- timeout-minutes: 45
if: github.event_name == 'pull_request'
run: |
./scripts/run_in_python_env.sh out/venv \
@@ -288,7 +281,6 @@
--bridge-app ./out/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
"
- name: Run Tests using chip-repl (including slow)
- timeout-minutes: 45
if: github.event_name == 'push'
run: |
./scripts/run_in_python_env.sh out/venv \
@@ -323,7 +315,6 @@
test_suites_darwin:
name: Test Suites - Darwin
- timeout-minutes: 180
strategy:
matrix:
@@ -374,7 +365,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -386,7 +376,6 @@
.environment/pigweed-venv/*.log
- name: Build Apps
- timeout-minutes: 90
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
@@ -401,7 +390,6 @@
--copy-artifacts-to objdir-clone \
"
- name: Run Tests
- timeout-minutes: 80
if: matrix.build_variant != 'no-ble-tsan-clang'
run: |
./scripts/run_in_build_env.sh \
@@ -420,7 +408,6 @@
"
- name: Run Tests using the python parser sending commands to chip-tool
- timeout-minutes: 80
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
@@ -463,7 +450,6 @@
repl_tests_linux:
name: REPL Tests - Linux
- timeout-minutes: 130
env:
TSAN_OPTIONS: "halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
@@ -502,7 +488,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -514,7 +499,6 @@
.environment/pigweed-venv/*.log
- name: Build Python REPL and example apps
- timeout-minutes: 50
run: |
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv --extra_packages "mobly"'
scripts/run_in_python_env.sh out/venv 'pip install -r scripts/setup/requirements.build.txt'
@@ -527,7 +511,6 @@
--copy-artifacts-to objdir-clone \
"
- name: Run Tests
- timeout-minutes: 10
run: |
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --script-args "--log-level INFO -t 3600 --disable-test ClusterObjectTests.TestTimedRequestTimeout"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace_decode 1" --script "src/python_testing/TC_RR_1_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021"'
@@ -560,7 +543,6 @@
repl_tests_darwin:
name: REPL Tests - Darwin
- timeout-minutes: 120
strategy:
matrix:
@@ -602,7 +584,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
@@ -614,7 +595,6 @@
.environment/pigweed-venv/*.log
- name: Build Python REPL and example apps
- timeout-minutes: 50
run: |
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv'
scripts/run_in_python_env.sh out/venv 'pip install -r scripts/setup/requirements.build.txt'
@@ -626,7 +606,6 @@
--copy-artifacts-to objdir-clone \
"
- name: Run Tests
- timeout-minutes: 30
run: |
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/darwin-x64-all-clusters-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 3840 --interface-id -1" --script-args "-t 3600 --disable-test ClusterObjectTests.TestTimedRequestTimeout"'
- name: Uploading core files
diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml
index 102890e..db74425 100644
--- a/.github/workflows/unit_integration_test.yaml
+++ b/.github/workflows/unit_integration_test.yaml
@@ -26,7 +26,6 @@
jobs:
unit_tests:
name: Unit / Integration Tests
- timeout-minutes: 60
if: github.actor != 'restyled-io[bot]'
strategy:
@@ -55,7 +54,6 @@
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux
- name: Bootstrap
- timeout-minutes: 10
run: |
mkdir -p /tmp/log_output ;
bash scripts/bootstrap.sh ;
@@ -88,10 +86,8 @@
scripts/build/gn_gen.sh --args="$GN_ARGS"
- name: Run Build
- timeout-minutes: 30
run: scripts/run_in_build_env.sh "ninja -C out/$BUILD_TYPE"
- name: Run Tests
- timeout-minutes: 30
run: scripts/tests/gn_tests.sh
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
diff --git a/.github/workflows/zap_regeneration.yaml b/.github/workflows/zap_regeneration.yaml
index f5c13ed..60e2a85 100644
--- a/.github/workflows/zap_regeneration.yaml
+++ b/.github/workflows/zap_regeneration.yaml
@@ -29,7 +29,6 @@
jobs:
zap_regeneration:
name: ZAP Regeneration
- timeout-minutes: 60
runs-on: ubuntu-20.04
container:
@@ -66,11 +65,9 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Generate all
- timeout-minutes: 5
run: ./scripts/run_in_build_env.sh scripts/tools/zap_regen_all.py
- name: Ensure git works in current working directory
run: git config --global --add safe.directory `pwd`
diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml
index a641917..35cc94b 100644
--- a/.github/workflows/zap_templates.yaml
+++ b/.github/workflows/zap_templates.yaml
@@ -31,7 +31,6 @@
jobs:
zap_templates:
name: ZAP templates generation
- timeout-minutes: 90
runs-on: ubuntu-20.04
container:
@@ -67,7 +66,6 @@
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
- timeout-minutes: 10
run: bash scripts/bootstrap.sh
- name: Generate all
diff --git a/docs/guides/openiotsdk_examples.md b/docs/guides/openiotsdk_examples.md
index a0f4a68..2d1d7a0 100644
--- a/docs/guides/openiotsdk_examples.md
+++ b/docs/guides/openiotsdk_examples.md
@@ -797,7 +797,6 @@
...
- name: Build new-example example
id: build_new_example
- timeout-minutes: 10
run: |
scripts/examples/openiotsdk_example.sh -b ${{ matrix.cryptoBackend }} new-example
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
diff --git a/examples/chef/README.md b/examples/chef/README.md
index a2cef20..6911630 100644
--- a/examples/chef/README.md
+++ b/examples/chef/README.md
@@ -149,7 +149,6 @@
run: |
scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform $PLATFORM
- name: Bootstrap
- timeout-minutes: 25
run: bash scripts/bootstrap.sh
- name: CI Examples $PLATFORM
shell: bash