From 117631115c120401387c446d911dcba7fb0e5c88 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Wed, 21 Jun 2023 00:16:42 -0400 Subject: [PATCH] Updating Wretry, and adding Wretry to build cache (#27356) --- .github/workflows/bloat_check.yaml | 2 +- .github/workflows/build.yaml | 100 +++++++++++------- .github/workflows/chef.yaml | 60 ++++++----- .github/workflows/cirque.yaml | 2 +- .github/workflows/darwin-tests.yaml | 20 ++-- .github/workflows/darwin.yaml | 20 ++-- .github/workflows/docker_img.yaml | 2 +- .github/workflows/examples-ameba.yaml | 20 ++-- .github/workflows/examples-asr.yaml | 20 ++-- .github/workflows/examples-bouffalolab.yaml | 2 +- .../workflows/examples-cc13x2x7_26x2x7.yaml | 20 ++-- .github/workflows/examples-cc32xx.yaml | 20 ++-- .github/workflows/examples-efr32.yaml | 2 +- .github/workflows/examples-esp32.yaml | 40 ++++--- .github/workflows/examples-infineon.yaml | 20 ++-- .github/workflows/examples-k32w.yaml | 20 ++-- .github/workflows/examples-linux-arm.yaml | 20 ++-- .github/workflows/examples-linux-imx.yaml | 20 ++-- .../workflows/examples-linux-standalone.yaml | 20 ++-- .github/workflows/examples-mbed.yaml | 20 ++-- .github/workflows/examples-mw320.yaml | 20 ++-- .github/workflows/examples-nrfconnect.yaml | 20 ++-- .github/workflows/examples-openiotsdk.yaml | 20 ++-- .github/workflows/examples-qpg.yaml | 20 ++-- .github/workflows/examples-telink.yaml | 20 ++-- .github/workflows/examples-tizen.yaml | 20 ++-- .github/workflows/fixit_rotation.yaml | 2 +- .github/workflows/full-android.yaml | 20 ++-- .github/workflows/fuzzing-build.yaml | 40 ++++--- .github/workflows/java-tests.yaml | 18 ++-- .github/workflows/lint.yml | 20 ++-- .github/workflows/qemu.yaml | 40 ++++--- .github/workflows/release_artifacts.yaml | 40 ++++--- .github/workflows/smoketest-android.yaml | 20 ++-- .github/workflows/smoketest-darwin.yaml | 20 ++-- .github/workflows/spell.yml | 4 +- .github/workflows/tests.yaml | 76 +++++++------ .github/workflows/todos.yaml | 2 +- .github/workflows/unit_integration_test.yaml | 2 +- .github/workflows/zap_regeneration.yaml | 20 ++-- .github/workflows/zap_templates.yaml | 20 ++-- examples/chef/README.md | 2 +- .../docker/images/chip-build/Dockerfile | 98 ++++++++--------- 43 files changed, 597 insertions(+), 417 deletions(-) diff --git a/.github/workflows/bloat_check.yaml b/.github/workflows/bloat_check.yaml index f68127b364711d..814403ff3a0d3c 100644 --- a/.github/workflows/bloat_check.yaml +++ b/.github/workflows/bloat_check.yaml @@ -36,7 +36,7 @@ jobs: image: connectedhomeip/chip-build:0.7.3 steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d3f78f13539bc..95c51a8668785b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -53,7 +53,7 @@ jobs: env: CONCURRENCY_CONTEXT: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} run: echo "$CONCURRENCY_CONTEXT" - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -69,14 +69,18 @@ jobs: mkdir /tmp/cores || true sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -165,7 +169,7 @@ jobs: env: CONCURRENCY_CONTEXT: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} run: echo "$CONCURRENCY_CONTEXT" - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -186,14 +190,18 @@ jobs: mkdir /tmp/cores || true sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -337,7 +345,7 @@ jobs: env: CONCURRENCY_CONTEXT: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} run: echo "$CONCURRENCY_CONTEXT" - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -348,14 +356,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -388,7 +400,7 @@ jobs: if: github.actor != 'restyled-io[bot]' steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -407,14 +419,18 @@ jobs: run: | mkdir -p ~/Library/Logs/DiagnosticReports || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh @@ -496,7 +512,7 @@ jobs: net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -507,14 +523,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml index 54e29b684e06cd..431c4a2094548e 100644 --- a/.github/workflows/chef.yaml +++ b/.github/workflows/chef.yaml @@ -39,7 +39,7 @@ jobs: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -49,14 +49,18 @@ jobs: attempt_delay: 2000 - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -75,7 +79,7 @@ jobs: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -85,14 +89,18 @@ jobs: attempt_delay: 2000 - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32 - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -111,7 +119,7 @@ jobs: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -121,14 +129,18 @@ jobs: attempt_delay: 2000 - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform nrfconnect - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/cirque.yaml b/.github/workflows/cirque.yaml index 65acf7398b3f57..5a05c8a1675162 100644 --- a/.github/workflows/cirque.yaml +++ b/.github/workflows/cirque.yaml @@ -54,7 +54,7 @@ jobs: # options: "--privileged" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/darwin-tests.yaml b/.github/workflows/darwin-tests.yaml index 83edf05a47b82a..ec37ef972e3404 100644 --- a/.github/workflows/darwin-tests.yaml +++ b/.github/workflows/darwin-tests.yaml @@ -47,7 +47,7 @@ jobs: runs-on: macos-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -68,14 +68,18 @@ jobs: mkdir -p ~/Library/Logs/DiagnosticReports || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml index 51b8261e1fbb87..feffe54443535d 100644 --- a/.github/workflows/darwin.yaml +++ b/.github/workflows/darwin.yaml @@ -38,7 +38,7 @@ jobs: runs-on: macos-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -51,14 +51,18 @@ jobs: - name: Setup Environment run: brew install python@3.9 - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/docker_img.yaml b/.github/workflows/docker_img.yaml index 776a9539579585..02df12d569d98f 100644 --- a/.github/workflows/docker_img.yaml +++ b/.github/workflows/docker_img.yaml @@ -59,7 +59,7 @@ jobs: # NOTE: vscode image consumes ~52 GB disk space but GitHub-hosted runners provide ~10 GB free disk space(https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) #- "-vscode" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/examples-ameba.yaml b/.github/workflows/examples-ameba.yaml index 245141b6faa359..3ae69f827eb5f2 100644 --- a/.github/workflows/examples-ameba.yaml +++ b/.github/workflows/examples-ameba.yaml @@ -42,7 +42,7 @@ jobs: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -52,14 +52,18 @@ jobs: attempt_delay: 2000 - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform ameba - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap run: bash scripts/bootstrap.sh - name: Build example Ameba All Clusters App diff --git a/.github/workflows/examples-asr.yaml b/.github/workflows/examples-asr.yaml index f0f72503534e58..74bd7a68fbbfa6 100644 --- a/.github/workflows/examples-asr.yaml +++ b/.github/workflows/examples-asr.yaml @@ -40,7 +40,7 @@ jobs: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -50,14 +50,18 @@ jobs: attempt_delay: 2000 - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform asr - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap run: bash scripts/bootstrap.sh - name: Build all ASR582X examples diff --git a/.github/workflows/examples-bouffalolab.yaml b/.github/workflows/examples-bouffalolab.yaml index 580e3f5caffa21..06aa13a49bf8f5 100644 --- a/.github/workflows/examples-bouffalolab.yaml +++ b/.github/workflows/examples-bouffalolab.yaml @@ -42,7 +42,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/examples-cc13x2x7_26x2x7.yaml b/.github/workflows/examples-cc13x2x7_26x2x7.yaml index 7f34d31ebe61e9..32392f09d53109 100644 --- a/.github/workflows/examples-cc13x2x7_26x2x7.yaml +++ b/.github/workflows/examples-cc13x2x7_26x2x7.yaml @@ -46,7 +46,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -62,14 +62,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml index 4a941e17cb0aa5..a0faa39ca0802e 100644 --- a/.github/workflows/examples-cc32xx.yaml +++ b/.github/workflows/examples-cc32xx.yaml @@ -44,7 +44,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -60,14 +60,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index daf30304cd70ae..b1185a3ca29e48 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -45,7 +45,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml index a448cd81d5553a..fef46bc9d12af0 100644 --- a/.github/workflows/examples-esp32.yaml +++ b/.github/workflows/examples-esp32.yaml @@ -42,7 +42,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -59,14 +59,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -167,7 +171,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -178,14 +182,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32 - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml index 27105ffc7a6407..4c8e50253c93fa 100644 --- a/.github/workflows/examples-infineon.yaml +++ b/.github/workflows/examples-infineon.yaml @@ -42,7 +42,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -59,14 +59,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-k32w.yaml b/.github/workflows/examples-k32w.yaml index 935b9a837dc22b..da9d09174bde5c 100644 --- a/.github/workflows/examples-k32w.yaml +++ b/.github/workflows/examples-k32w.yaml @@ -44,7 +44,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -61,14 +61,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-linux-arm.yaml b/.github/workflows/examples-linux-arm.yaml index 2c6133227a4c36..b240d10a645cbe 100644 --- a/.github/workflows/examples-linux-arm.yaml +++ b/.github/workflows/examples-linux-arm.yaml @@ -42,7 +42,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -59,14 +59,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml index 4b5bf670c463ea..1c0756692b4574 100644 --- a/.github/workflows/examples-linux-imx.yaml +++ b/.github/workflows/examples-linux-imx.yaml @@ -40,7 +40,7 @@ jobs: image: connectedhomeip/chip-build-imx:0.7.3 steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -51,14 +51,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml index fd954ad63bb499..61c6b55e13b027 100644 --- a/.github/workflows/examples-linux-standalone.yaml +++ b/.github/workflows/examples-linux-standalone.yaml @@ -42,7 +42,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -59,14 +59,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-mbed.yaml b/.github/workflows/examples-mbed.yaml index 3d330fcd4cd848..2c8b4b95069543 100644 --- a/.github/workflows/examples-mbed.yaml +++ b/.github/workflows/examples-mbed.yaml @@ -48,7 +48,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -75,14 +75,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-mw320.yaml b/.github/workflows/examples-mw320.yaml index 15a429e7bd087f..91e5b7a2b1c92c 100755 --- a/.github/workflows/examples-mw320.yaml +++ b/.github/workflows/examples-mw320.yaml @@ -44,7 +44,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -61,14 +61,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml index 9b248461e5deeb..255aed2a97bc36 100644 --- a/.github/workflows/examples-nrfconnect.yaml +++ b/.github/workflows/examples-nrfconnect.yaml @@ -45,7 +45,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -74,14 +74,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-openiotsdk.yaml b/.github/workflows/examples-openiotsdk.yaml index 74dcb2f1206848..2c373d457dfe20 100644 --- a/.github/workflows/examples-openiotsdk.yaml +++ b/.github/workflows/examples-openiotsdk.yaml @@ -47,7 +47,7 @@ jobs: options: --privileged steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -64,14 +64,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml index 1be72db151799a..03af8dc153c044 100644 --- a/.github/workflows/examples-qpg.yaml +++ b/.github/workflows/examples-qpg.yaml @@ -44,7 +44,7 @@ jobs: volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -61,14 +61,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml index 3faeacb75057e1..b3c19c6791ef5b 100644 --- a/.github/workflows/examples-telink.yaml +++ b/.github/workflows/examples-telink.yaml @@ -43,7 +43,7 @@ jobs: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -60,14 +60,18 @@ jobs: GH_CONTEXT: ${{ toJson(github) }} run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/examples-tizen.yaml b/.github/workflows/examples-tizen.yaml index 2931bd1ea4c001..23bfc59f4186d6 100644 --- a/.github/workflows/examples-tizen.yaml +++ b/.github/workflows/examples-tizen.yaml @@ -43,7 +43,7 @@ jobs: - "/tmp/output_binaries:/tmp/output_binaries" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -54,14 +54,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform tizen - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap run: bash scripts/bootstrap.sh diff --git a/.github/workflows/fixit_rotation.yaml b/.github/workflows/fixit_rotation.yaml index c7ffed5302fae3..dbf61582962a9d 100644 --- a/.github/workflows/fixit_rotation.yaml +++ b/.github/workflows/fixit_rotation.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/full-android.yaml b/.github/workflows/full-android.yaml index adff0f36bad483..d187928969eb39 100644 --- a/.github/workflows/full-android.yaml +++ b/.github/workflows/full-android.yaml @@ -44,7 +44,7 @@ jobs: - "/tmp/log_output:/tmp/test_logs" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 if: ${{ !env.ACT }} name: Checkout with: @@ -65,14 +65,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform android - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/fuzzing-build.yaml b/.github/workflows/fuzzing-build.yaml index 0441c68285f02a..270b48db6eddcd 100644 --- a/.github/workflows/fuzzing-build.yaml +++ b/.github/workflows/fuzzing-build.yaml @@ -41,7 +41,7 @@ jobs: - "/tmp/log_output:/tmp/test_logs" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -56,14 +56,18 @@ jobs: run: | mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -101,7 +105,7 @@ jobs: if: github.actor != 'restyled-io[bot]' steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -116,14 +120,18 @@ jobs: run: | mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml index a2414e68d588b2..66564dbe449295 100644 --- a/.github/workflows/java-tests.yaml +++ b/.github/workflows/java-tests.yaml @@ -59,14 +59,18 @@ jobs: sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4acf3be4de4d3b..cac9dce5481981 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,7 +36,7 @@ jobs: image: connectedhomeip/chip-build:0.6.47 steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 if: ${{ !env.ACT }} name: Checkout with: @@ -59,14 +59,18 @@ jobs: # to run - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml index bb18146c47e0bc..ebbdeea2def32d 100644 --- a/.github/workflows/qemu.yaml +++ b/.github/workflows/qemu.yaml @@ -46,7 +46,7 @@ jobs: - "/tmp/log_output:/tmp/test_logs" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -57,14 +57,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32 - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh @@ -110,7 +114,7 @@ jobs: - "/tmp/log_output:/tmp/test_logs" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -121,14 +125,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform tizen - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml index e7fa612e92f1b4..a1edb67841efb4 100644 --- a/.github/workflows/release_artifacts.yaml +++ b/.github/workflows/release_artifacts.yaml @@ -37,7 +37,7 @@ jobs: image: connectedhomeip/chip-build-esp32:0.7.3 steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -48,14 +48,18 @@ jobs: attempt_delay: 2000 ref: "${{ github.event.inputs.releaseTag }}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh @@ -92,7 +96,7 @@ jobs: container: image: connectedhomeip/chip-build-efr32:0.7.3 steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -103,14 +107,18 @@ jobs: attempt_delay: 2000 ref: "${{ github.event.inputs.releaseTag }}" - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/smoketest-android.yaml b/.github/workflows/smoketest-android.yaml index bd4361e6667d65..ae1c79e392b310 100644 --- a/.github/workflows/smoketest-android.yaml +++ b/.github/workflows/smoketest-android.yaml @@ -45,7 +45,7 @@ jobs: - "/tmp/log_output:/tmp/test_logs" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -56,14 +56,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform android - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/smoketest-darwin.yaml b/.github/workflows/smoketest-darwin.yaml index 0c6409f8bfdd42..069d68b08b047c 100644 --- a/.github/workflows/smoketest-darwin.yaml +++ b/.github/workflows/smoketest-darwin.yaml @@ -38,7 +38,7 @@ jobs: runs-on: macos-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -51,14 +51,18 @@ jobs: - name: Setup Environment run: brew install python@3.9 - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/spell.yml b/.github/workflows/spell.yml index 3de0afa566469d..80bd1ea666514c 100644 --- a/.github/workflows/spell.yml +++ b/.github/workflows/spell.yml @@ -29,7 +29,7 @@ jobs: name: Check Spelling - reviewdog runs-on: ubuntu-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -44,7 +44,7 @@ jobs: name: Check Spelling - pyspelling runs-on: ubuntu-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2160399601c92d..a6168b684631b8 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -55,7 +55,7 @@ jobs: net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 if: ${{ !env.ACT }} name: Checkout with: @@ -82,14 +82,18 @@ jobs: sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -331,7 +335,7 @@ jobs: runs-on: macos-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -352,14 +356,18 @@ jobs: mkdir -p ~/Library/Logs/DiagnosticReports || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh @@ -475,14 +483,18 @@ jobs: sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh @@ -568,14 +580,18 @@ jobs: mkdir -p ~/Library/Logs/DiagnosticReports || true mkdir objdir-clone || true - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 25 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/todos.yaml b/.github/workflows/todos.yaml index f7e82d5f217eca..2ef92eac1e87f7 100644 --- a/.github/workflows/todos.yaml +++ b/.github/workflows/todos.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml index 9a22f6bc0d6d71..98a486916692d1 100644 --- a/.github/workflows/unit_integration_test.yaml +++ b/.github/workflows/unit_integration_test.yaml @@ -44,7 +44,7 @@ jobs: options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 diff --git a/.github/workflows/zap_regeneration.yaml b/.github/workflows/zap_regeneration.yaml index ce173fce271490..9de3f3fe6e749e 100644 --- a/.github/workflows/zap_regeneration.yaml +++ b/.github/workflows/zap_regeneration.yaml @@ -40,7 +40,7 @@ jobs: if: github.actor != 'restyled-io[bot]' steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -52,14 +52,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml index 9970300975771d..073cd422e2bb92 100644 --- a/.github/workflows/zap_templates.yaml +++ b/.github/workflows/zap_templates.yaml @@ -42,7 +42,7 @@ jobs: if: github.actor != 'restyled-io[bot]' steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3.5.2 @@ -53,14 +53,18 @@ jobs: - name: Checkout submodules run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux - - name: Bootstrap cache - uses: buildjet/cache@v3 - timeout-minutes: 10 + - uses: Wandalen/wretry.action@v1.0.41 + name: Bootstrap cache + timeout-minutes: 20 with: - key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} - path: | - .environment - build_overrides/pigweed_environment.gni + action: buildjet/cache@v3 + attempt_limit: 3 + attempt_delay: 2000 + with: | + key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} + path: | + .environment + build_overrides/pigweed_environment.gni - name: Bootstrap timeout-minutes: 10 run: bash scripts/bootstrap.sh diff --git a/examples/chef/README.md b/examples/chef/README.md index da87ca307f847f..0b842b4a0377de 100644 --- a/examples/chef/README.md +++ b/examples/chef/README.md @@ -137,7 +137,7 @@ chef_$PLATFORM: options: --user root steps: - - uses: Wandalen/wretry.action@v1.0.36 + - uses: Wandalen/wretry.action@v1.0.41 name: Checkout with: action: actions/checkout@v3 diff --git a/integrations/docker/images/chip-build/Dockerfile b/integrations/docker/images/chip-build/Dockerfile index 64550e8aeb12bd..d92e9efb385636 100644 --- a/integrations/docker/images/chip-build/Dockerfile +++ b/integrations/docker/images/chip-build/Dockerfile @@ -7,22 +7,22 @@ ARG TARGETPLATFORM # Ensure TARGETPLATFORM is set RUN case ${TARGETPLATFORM} in \ - "linux/amd64") \ - echo "Building for linux/amd64" \ - ;; \ - "linux/arm64") \ - echo "Building for linux/arm64" \ - ;; \ - *) \ - if [ -z "$TARGETPLATFORM" ] ;\ - then \ - echo "TARGETPLATFORM not defined! Please run from buildkit (buildx)." \ - && return 1 ;\ - else \ - echo "Unsupported platform ${TARGETPLATFORM}." \ - && return 1 ;\ - fi \ - ;; \ + "linux/amd64") \ + echo "Building for linux/amd64" \ + ;; \ + "linux/arm64") \ + echo "Building for linux/arm64" \ + ;; \ + *) \ + if [ -z "$TARGETPLATFORM" ] ;\ + then \ + echo "TARGETPLATFORM not defined! Please run from buildkit (buildx)." \ + && return 1 ;\ + else \ + echo "Unsupported platform ${TARGETPLATFORM}." \ + && return 1 ;\ + fi \ + ;; \ esac @@ -100,13 +100,13 @@ RUN set -x \ # Cmake v3.23.1 ENV CMAKE_PLATFORM_VERSION= RUN case ${TARGETPLATFORM} in \ - "linux/amd64") CMAKE_PLATFORM_VERSION="x86_64";; \ - "linux/arm64") CMAKE_PLATFORM_VERSION="aarch64";; \ - *) \ - test -n "$TARGETPLATFORM" \ - echo "Unsupported platform ${TARGETPLATFORM}" \ - && return 1 ;\ - ;; \ + "linux/amd64") CMAKE_PLATFORM_VERSION="x86_64";; \ + "linux/arm64") CMAKE_PLATFORM_VERSION="aarch64";; \ + *) \ + test -n "$TARGETPLATFORM" \ + echo "Unsupported platform ${TARGETPLATFORM}" \ + && return 1 ;\ + ;; \ esac \ && set -x \ && (cd /tmp \ @@ -199,43 +199,43 @@ RUN set -x \ # a lot of threads-related APIs. ENV LD_LIBRARY_PATH_TSAN=/usr/lib/x86_64-linux-gnu-tsan RUN case ${TARGETPLATFORM} in \ - "linux/amd64") \ - set -x \ - && mkdir -p $LD_LIBRARY_PATH_TSAN \ - && export CCACHE_DISABLE=1 PYTHONDONTWRITEBYTECODE=1 \ - && GLIB_VERSION=$(pkg-config --modversion glib-2.0) \ - && git clone --depth=1 --branch=$GLIB_VERSION https://github.com/GNOME/glib.git \ - && CFLAGS="-O2 -g -fsanitize=thread" meson glib/build glib \ - && DESTDIR=../build-image ninja -C glib/build install \ - && mv glib/build-image/usr/local/lib/x86_64-linux-gnu/lib* $LD_LIBRARY_PATH_TSAN \ - && rm -rf glib \ - ;; \ - "linux/arm64") \ - echo "ARM64 unsupported with TSAN" \ - ;; \ - *) \ - echo "Unsupported platform ${TARGETPLATFORM}" \ - && return 1 ;\ - ;; \ + "linux/amd64") \ + set -x \ + && mkdir -p $LD_LIBRARY_PATH_TSAN \ + && export CCACHE_DISABLE=1 PYTHONDONTWRITEBYTECODE=1 \ + && GLIB_VERSION=$(pkg-config --modversion glib-2.0) \ + && git clone --depth=1 --branch=$GLIB_VERSION https://github.com/GNOME/glib.git \ + && CFLAGS="-O2 -g -fsanitize=thread" meson glib/build glib \ + && DESTDIR=../build-image ninja -C glib/build install \ + && mv glib/build-image/usr/local/lib/x86_64-linux-gnu/lib* $LD_LIBRARY_PATH_TSAN \ + && rm -rf glib \ + ;; \ + "linux/arm64") \ + echo "ARM64 unsupported with TSAN" \ + ;; \ + *) \ + echo "Unsupported platform ${TARGETPLATFORM}" \ + && return 1 ;\ + ;; \ esac # NodeJS: install a newer version than what apt-get would read # This installs the latest LTS version of nodejs # -# NodeJS is required by github actions, we use Wandalen/wretry.action@v1.0.36 +# NodeJS is required by github actions, we use Wandalen/wretry.action@v1.0.41 # and that seems to use the built-in node installation in the image # # This is not a CHIP dependency directly, but used by CI ENV CHIP_NODE_VERSION=v16.13.2 ENV NODE_PLATFORM_VERSION= RUN case ${TARGETPLATFORM} in \ - "linux/amd64") NODE_PLATFORM_VERSION=x64;; \ - "linux/arm64") NODE_PLATFORM_VERSION=arm64;; \ - *) \ - test -n "$TARGETPLATFORM" \ - echo "Unsupported platform ${TARGETPLATFORM}" \ - && return 1 ;\ - ;; \ + "linux/amd64") NODE_PLATFORM_VERSION=x64;; \ + "linux/arm64") NODE_PLATFORM_VERSION=arm64;; \ + *) \ + test -n "$TARGETPLATFORM" \ + echo "Unsupported platform ${TARGETPLATFORM}" \ + && return 1 ;\ + ;; \ esac \ && set -x \ && mkdir node_js \