Skip to content

Commit 774add2

Browse files
authored
Merge branch 'feature/oven_app_commands_implementation' into feature/oven_app_bindings_implementation
2 parents cd39178 + 09942b8 commit 774add2

File tree

493 files changed

+15036
-4343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

493 files changed

+15036
-4343
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'Delete Cache'
2+
description: 'Deletes a GitHub Actions cache by key using the GitHub API'
3+
inputs:
4+
cache-key:
5+
required: true
6+
description: 'The cache key to delete'
7+
github-token:
8+
required: true
9+
description: 'GitHub token for API authentication'
10+
runs:
11+
using: "composite"
12+
steps:
13+
- name: Delete cache
14+
uses: actions/github-script@v7
15+
env:
16+
CACHE_KEY: ${{ inputs.cache-key }}
17+
with:
18+
github-token: ${{ inputs.github-token }}
19+
script: |
20+
const owner = context.repo.owner;
21+
const repo = context.repo.repo;
22+
const key = process.env.CACHE_KEY;
23+
const ref = context.ref;
24+
25+
core.info(`Attempting to delete cache: ${key}`);
26+
27+
try {
28+
await github.rest.actions.deleteActionsCacheByKey({
29+
owner: owner,
30+
repo: repo,
31+
key: key,
32+
ref: ref
33+
});
34+
core.info(`Successfully deleted cache`);
35+
} catch (e) {
36+
if (e.status === 404) {
37+
core.info(`Cache not found (first run or already deleted)`);
38+
} else {
39+
core.warning(`Failed to delete cache: ${e.message}`);
40+
}
41+
}

.github/actions/setup-ccache/action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ runs:
2929
mkdir -p .ccache
3030
echo "CCACHE_NOHASHDIR=1" >> $GITHUB_ENV
3131
echo "CCACHE_BASEDIR=${{ github.workspace }}" >> $GITHUB_ENV
32+
echo "CCACHE_NODIRECT=1" >> $GITHUB_ENV
33+
echo "CCACHE_PREFIX_CPP=${{ github.workspace }}/scripts/helpers/ccache-prefix-cpp.sh" >> $GITHUB_ENV
3234
echo "CCACHE_SLOPPINESS=time_macros" >> $GITHUB_ENV
3335
echo "CCACHE_DIR=${{ github.workspace }}/.ccache" >> $GITHUB_ENV
3436
echo "CCACHE_COMPILERCHECK=content" >> $GITHUB_ENV
@@ -47,14 +49,11 @@ runs:
4749
id: cache-vars
4850
shell: bash
4951
run: |
50-
CACHE_WEEK=$(date +%G-%V)
51-
echo "CACHE_WEEK=${CACHE_WEEK}" >> "$GITHUB_ENV"
52-
5352
CACHE_SUFFIX="${{ inputs.cache-suffix }}"
5453
if [ -n "$CACHE_SUFFIX" ]; then
55-
CCACHE_KEY="ccache-${{ runner.os }}-${{ inputs.build-variant }}-w${CACHE_WEEK}-${CACHE_SUFFIX}"
54+
CCACHE_KEY="ccache-${{ runner.os }}-${{ inputs.build-variant }}-${CACHE_SUFFIX}"
5655
else
57-
CCACHE_KEY="ccache-${{ runner.os }}-${{ inputs.build-variant }}-w${CACHE_WEEK}"
56+
CCACHE_KEY="ccache-${{ runner.os }}-${{ inputs.build-variant }}"
5857
fi
5958
echo "CCACHE_KEY=${CCACHE_KEY}" >> "$GITHUB_ENV"
6059
echo "cache_key=${CCACHE_KEY}" >> "$GITHUB_OUTPUT"

.github/workflows/bloat_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
container:
37-
image: ghcr.io/project-chip/chip-build:169
37+
image: ghcr.io/project-chip/chip-build:174
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: github.actor != 'restyled-io[bot]'
4444

4545
container:
46-
image: ghcr.io/project-chip/chip-build:169
46+
image: ghcr.io/project-chip/chip-build:174
4747
volumes:
4848
- "/:/runner-root-volume"
4949
- "/tmp/log_output:/tmp/test_logs"
@@ -120,7 +120,7 @@ jobs:
120120
if: inputs.run-codeql != true
121121
run: scripts/run_in_build_env.sh "ninja -C ./out"
122122
- name: Uploading core files
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v5
124124
if: ${{ failure() && !env.ACT }}
125125
with:
126126
name: crash-core-linux-gcc-debug
@@ -138,7 +138,7 @@ jobs:
138138
# If re-enabling, some subset of this should be picked
139139
#
140140
# - name: Uploading objdir for debugging
141-
# uses: actions/upload-artifact@v4
141+
# uses: actions/upload-artifact@v5
142142
# if: ${{ failure() && !env.ACT }}
143143
# with:
144144
# name: crash-objdir-linux-gcc-debug
@@ -153,7 +153,7 @@ jobs:
153153
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
154154

155155
container:
156-
image: ghcr.io/project-chip/chip-build:169
156+
image: ghcr.io/project-chip/chip-build:174
157157
volumes:
158158
- "/:/runner-root-volume"
159159
- "/tmp/log_output:/tmp/test_logs"
@@ -298,7 +298,7 @@ jobs:
298298
# language: cpp
299299

300300
- name: Uploading core files
301-
uses: actions/upload-artifact@v4
301+
uses: actions/upload-artifact@v5
302302
if: ${{ failure() && !env.ACT }}
303303
with:
304304
name: crash-core-linux
@@ -311,7 +311,7 @@ jobs:
311311
# If re-enabling, some subset of this should be picked
312312
#
313313
# - name: Uploading objdir for debugging
314-
# uses: actions/upload-artifact@v4
314+
# uses: actions/upload-artifact@v5
315315
# if: ${{ failure() && !env.ACT }}
316316
# with:
317317
# name: crash-objdir-linux
@@ -326,7 +326,7 @@ jobs:
326326
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
327327

328328
container:
329-
image: ghcr.io/project-chip/chip-build:169
329+
image: ghcr.io/project-chip/chip-build:174
330330
volumes:
331331
- "/:/runner-root-volume"
332332
- "/tmp/log_output:/tmp/test_logs"
@@ -389,7 +389,7 @@ jobs:
389389
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
390390

391391
container:
392-
image: ghcr.io/project-chip/chip-build:169
392+
image: ghcr.io/project-chip/chip-build:174
393393
volumes:
394394
- "/:/runner-root-volume"
395395
- "/tmp/log_output:/tmp/test_logs"
@@ -487,7 +487,7 @@ jobs:
487487
check \
488488
"
489489
- name: Uploading diagnostic logs
490-
uses: actions/upload-artifact@v4
490+
uses: actions/upload-artifact@v5
491491
if: ${{ failure() && !env.ACT }}
492492
with:
493493
name: crash-log-darwin
@@ -513,7 +513,7 @@ jobs:
513513
runs-on: ubuntu-latest
514514

515515
container:
516-
image: ghcr.io/project-chip/chip-build:169
516+
image: ghcr.io/project-chip/chip-build:174
517517
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
518518
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
519519

.github/workflows/chef.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: ghcr.io/project-chip/chip-build:169
40+
image: ghcr.io/project-chip/chip-build:174
4141
options: --user root
4242

4343
steps:
@@ -58,7 +58,7 @@ jobs:
5858
timeout-minutes: 90
5959
runs-on: ubuntu-latest
6060
container:
61-
image: ghcr.io/project-chip/chip-build:169
61+
image: ghcr.io/project-chip/chip-build:174
6262
options: >-
6363
--privileged
6464
--sysctl net.ipv6.conf.all.disable_ipv6=0
@@ -96,7 +96,7 @@ jobs:
9696
if: github.actor != 'restyled-io[bot]'
9797

9898
container:
99-
image: ghcr.io/project-chip/chip-build-esp32:168
99+
image: ghcr.io/project-chip/chip-build-esp32:172
100100
options: --user root
101101

102102
steps:
@@ -117,7 +117,7 @@ jobs:
117117
if: github.actor != 'restyled-io[bot]'
118118

119119
container:
120-
image: ghcr.io/project-chip/chip-build-nrf-platform:169
120+
image: ghcr.io/project-chip/chip-build-nrf-platform:174
121121
options: --user root
122122

123123
steps:
@@ -138,7 +138,7 @@ jobs:
138138
if: github.actor != 'restyled-io[bot]'
139139

140140
container:
141-
image: ghcr.io/project-chip/chip-build-telink:168
141+
image: ghcr.io/project-chip/chip-build-telink:174
142142
options: --user root
143143

144144
steps:

.github/workflows/cirque.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
131131
132132
- name: Uploading Binaries
133-
uses: actions/upload-artifact@v4
133+
uses: actions/upload-artifact@v5
134134
if: ${{ always() && !env.ACT }}
135135
with:
136136
name: cirque_log-${{steps.outsuffix.outputs.value}}-logs

.github/workflows/darwin-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,27 +145,27 @@ jobs:
145145
--ota-candidate-file /tmp/otaCandidateJSON \
146146
"
147147
- name: Uploading core files
148-
uses: actions/upload-artifact@v4
148+
uses: actions/upload-artifact@v5
149149
if: ${{ failure() && !env.ACT }}
150150
with:
151151
name: crash-core-darwin-${{ matrix.build_variant }}
152152
path: /cores/
153153
# Cores are big; don't hold on to them too long.
154154
retention-days: 5
155155
- name: Uploading diagnostic logs
156-
uses: actions/upload-artifact@v4
156+
uses: actions/upload-artifact@v5
157157
if: ${{ failure() && !env.ACT }}
158158
with:
159159
name: crash-log-darwin-${{ matrix.build_variant }}
160160
path: ~/Library/Logs/DiagnosticReports/
161161
- name: Uploading framework build log
162-
uses: actions/upload-artifact@v4
162+
uses: actions/upload-artifact@v5
163163
if: ${{ failure() && !env.ACT }}
164164
with:
165165
name: framework-build-log-darwin-${BUILD_VARIANT_FRAMEWORK_TOOL}
166166
path: out/darwin-${{matrix.arch}}-darwin-framework-tool-${BUILD_VARIANT_FRAMEWORK_TOOL}/darwin_framework_build.log
167167
- name: Uploading objdir for debugging
168-
uses: actions/upload-artifact@v4
168+
uses: actions/upload-artifact@v5
169169
if: ${{ failure() && !env.ACT }}
170170
with:
171171
name: crash-objdir-darwin-${{ matrix.build_variant }}

.github/workflows/darwin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
mkdir -p /tmp/darwin/framework-tests
133133
find ~/Library/Developer/Xcode/DerivedData /Library/Logs/DiagnosticReports -name '*.ips' -print0 | xargs -0 -J % cp % /tmp/darwin/framework-tests
134134
- name: Uploading log files
135-
uses: actions/upload-artifact@v4
135+
uses: actions/upload-artifact@v5
136136
if: failure() && !env.ACT
137137
with:
138138
name: darwin-framework-test-logs-${{ matrix.options.flavor }}

.github/workflows/doxygen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
runs-on: ubuntu-latest
8686
container:
87-
image: ghcr.io/project-chip/chip-build-doxygen:168
87+
image: ghcr.io/project-chip/chip-build-doxygen:174
8888

8989
if: github.actor != 'restyled-io[bot]'
9090

.github/workflows/examples-ameba.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-ameba:168
42+
image: ghcr.io/project-chip/chip-build-ameba:174
4343
options: --user root
4444

4545
steps:

0 commit comments

Comments
 (0)