-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Wretry, and adding Wretry to build cache (#27356)
- Loading branch information
1 parent
4825a71
commit 843046e
Showing
43 changed files
with
597 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
image: connectedhomeip/chip-build:0.7.3 | ||
|
||
steps: | ||
- uses: Wandalen/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -407,14 +419,18 @@ jobs: | |
run: | | ||
mkdir -p ~/Library/Logs/DiagnosticReports || true | ||
- name: Bootstrap cache | ||
uses: buildjet/cache@v3 | ||
timeout-minutes: 10 | ||
- uses: Wandalen/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
options: --user root | ||
|
||
steps: | ||
- uses: Wandalen/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
# options: "--privileged" | ||
|
||
steps: | ||
- uses: Wandalen/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: Wandalen/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -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/[email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: Wandalen/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
@@ -51,14 +51,18 @@ jobs: | |
- name: Setup Environment | ||
run: brew install [email protected] | ||
|
||
- name: Bootstrap cache | ||
uses: buildjet/cache@v3 | ||
timeout-minutes: 10 | ||
- uses: Wandalen/[email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].36 | ||
- uses: Wandalen/[email protected].41 | ||
name: Checkout | ||
with: | ||
action: actions/[email protected] | ||
|
Oops, something went wrong.