Commit 1d76b09 1 parent 75dce31 commit 1d76b09 Copy full SHA for 1d76b09
File tree 9 files changed +107
-9
lines changed
9 files changed +107
-9
lines changed Original file line number Diff line number Diff line change 32
32
BUILD_TYPE : gn_efr32
33
33
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
34
34
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
35
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
36
36
37
37
runs-on : ubuntu-latest
38
38
if : github.actor != 'restyled-io[bot]'
46
46
uses : actions/checkout@v2
47
47
with :
48
48
submodules : true
49
+
50
+ - name : Get parent for size reports
51
+ shell : bash
52
+ run : |
53
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
54
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
55
+ then
56
+ MERGE_PARENT=$GH_EVENT_BASE
57
+ fi
58
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
59
+
49
60
- name : Bootstrap
50
61
timeout-minutes : 25
51
62
run : scripts/build/gn_bootstrap.sh
82
93
scripts/examples/gn_efr32_example.sh examples/window-app/efr32/ out/window_app_debug BRD4161A
83
94
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py efr32 BRD4161A window-app \
84
95
out/window_app_debug/BRD4161A/chip-efr32-window-example.out /tmp/bloat_reports/
96
+
85
97
- name : Uploading Size Reports
86
98
uses : actions/upload-artifact@v2
87
99
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 32
32
BUILD_TYPE : esp32
33
33
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
34
34
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
35
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
36
36
37
37
runs-on : ubuntu-latest
38
38
if : github.actor != 'restyled-io[bot]'
47
47
uses : actions/checkout@v2
48
48
with :
49
49
submodules : true
50
+
51
+ - name : Get parent for size reports
52
+ run : |
53
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
54
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
55
+ then
56
+ MERGE_PARENT=$GH_EVENT_BASE
57
+ fi
58
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
59
+
50
60
- name : Bootstrap
51
61
timeout-minutes : 25
52
62
run : scripts/build/gn_bootstrap.sh
@@ -103,6 +113,7 @@ jobs:
103
113
- name : Build example IPv6 Only App
104
114
timeout-minutes : 10
105
115
run : scripts/examples/esp_example.sh ipv6only-app sdkconfig.defaults
116
+
106
117
- name : Uploading Size Reports
107
118
uses : actions/upload-artifact@v2
108
119
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 31
31
env :
32
32
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
33
33
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
34
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
34
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
35
36
36
runs-on : ubuntu-latest
37
37
if : github.actor != 'restyled-io[bot]'
44
44
uses : actions/checkout@v2
45
45
with :
46
46
submodules : true
47
+
48
+ - name : Get parent for size reports
49
+ run : |
50
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
51
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
52
+ then
53
+ MERGE_PARENT=$GH_EVENT_BASE
54
+ fi
55
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
56
+
47
57
- name : Bootstrap
48
58
timeout-minutes : 25
49
59
run : scripts/build/gn_bootstrap.sh
71
81
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
72
82
p6 default all-clusters-app \
73
83
out/infineon-p6-all-clusters/chip-p6-clusters-example.out
84
+
74
85
- name : Uploading Size Reports
75
86
uses : actions/upload-artifact@v2
76
87
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 31
31
BUILD_TYPE : gn_k32w
32
32
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
33
33
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
34
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
34
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
35
36
36
runs-on : ubuntu-latest
37
37
if : github.actor != 'restyled-io[bot]'
45
45
uses : actions/checkout@v2
46
46
with :
47
47
submodules : true
48
+
49
+ - name : Get parent for size reports
50
+ run : |
51
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
52
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
53
+ then
54
+ MERGE_PARENT=$GH_EVENT_BASE
55
+ fi
56
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
57
+
48
58
- name : Bootstrap
49
59
timeout-minutes : 25
50
60
run : scripts/build/gn_bootstrap.sh
83
93
k32w k32w061+se05x+release lighting-app \
84
94
out/lighting_app_se_release/chip-k32w061-light-example \
85
95
/tmp/bloat_reports/
96
+
86
97
- name : Uploading Size Reports
87
98
uses : actions/upload-artifact@v2
88
99
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 31
31
BUILD_TYPE : gn_linux
32
32
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
33
33
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
34
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
34
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
35
36
36
runs-on : ubuntu-latest
37
37
if : github.actor != 'restyled-io[bot]'
46
46
uses : actions/checkout@v2
47
47
with :
48
48
submodules : true
49
+
50
+ - name : Get parent for size reports
51
+ run : |
52
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
53
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
54
+ then
55
+ MERGE_PARENT=$GH_EVENT_BASE
56
+ fi
57
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
58
+
49
59
- name : Bootstrap
50
60
timeout-minutes : 10
51
61
run : scripts/build/gn_bootstrap.sh
@@ -123,6 +133,7 @@ jobs:
123
133
linux debug ota-requestor-app \
124
134
out/ota_requestor_debug/chip-ota-requestor-app \
125
135
/tmp/bloat_reports/
136
+
126
137
- name : Uploading Size Reports
127
138
uses : actions/upload-artifact@v2
128
139
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 34
34
APP_TARGET : CY8CPROTO_062_4343W
35
35
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
36
36
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
37
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
37
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
38
38
39
39
runs-on : ubuntu-latest
40
40
if : github.actor != 'restyled-io[bot]'
50
50
with :
51
51
submodules : true
52
52
53
+ - name : Get parent for size reports
54
+ run : |
55
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
56
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
57
+ then
58
+ MERGE_PARENT=$GH_EVENT_BASE
59
+ fi
60
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
61
+
53
62
- name : Bootstrap
54
63
timeout-minutes : 10
55
64
run : scripts/build/gn_bootstrap.sh
Original file line number Diff line number Diff line change 31
31
BUILD_TYPE : nrfconnect
32
32
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
33
33
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
34
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
34
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
35
36
36
runs-on : ubuntu-latest
37
37
if : github.actor != 'restyled-io[bot]'
46
46
uses : actions/checkout@v2
47
47
with :
48
48
submodules : true
49
+
50
+ - name : Get parent for size reports
51
+ run : |
52
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
53
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
54
+ then
55
+ MERGE_PARENT=$GH_EVENT_BASE
56
+ fi
57
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
58
+
49
59
- name : Bootstrap
50
60
timeout-minutes : 25
51
61
run : scripts/build/gn_bootstrap.sh
@@ -144,6 +154,7 @@ jobs:
144
154
timeout-minutes : 10
145
155
run : |
146
156
scripts/run_in_build_env.sh "scripts/tests/nrfconnect_native_posix_tests.sh native_posix_64"
157
+
147
158
- name : Uploading Size Reports
148
159
uses : actions/upload-artifact@v2
149
160
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 31
31
BUILD_TYPE : gn_qpg
32
32
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
33
33
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
34
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
34
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
35
35
36
36
runs-on : ubuntu-latest
37
37
if : github.actor != 'restyled-io[bot]'
45
45
uses : actions/checkout@v2
46
46
with :
47
47
submodules : true
48
+
49
+ - name : Get parent for size reports
50
+ run : |
51
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
52
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
53
+ then
54
+ MERGE_PARENT=$GH_EVENT_BASE
55
+ fi
56
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
57
+
48
58
- name : Bootstrap
49
59
timeout-minutes : 25
50
60
run : scripts/build/gn_bootstrap.sh
85
95
timeout-minutes : 5
86
96
run : |
87
97
config/qpg/chip-gn/build.sh
98
+
88
99
- name : Uploading Size Reports
89
100
uses : actions/upload-artifact@v2
90
101
if : ${{ !env.ACT }}
Original file line number Diff line number Diff line change 29
29
BUILD_TYPE : telink
30
30
GH_EVENT_PR : ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
31
31
GH_EVENT_HASH : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
32
- GH_EVENT_PARENT : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
32
+ GH_EVENT_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
33
33
34
34
runs-on : ubuntu-latest
35
35
if : github.actor != 'restyled-io[bot]'
44
44
uses : actions/checkout@v2
45
45
with :
46
46
submodules : true
47
+
48
+ - name : Get parent for size reports
49
+ run : |
50
+ MERGE_PARENT="$(git --no-pager log -1 --pretty=tformat:%s | sed -n -e 's/Merge [0-9a-f]\+ into //p')"
51
+ if test -z "${MERGE_PARENT}" || test "${GH_EVENT_PARENT}" = 0
52
+ then
53
+ MERGE_PARENT=$GH_EVENT_BASE
54
+ fi
55
+ echo "GH_EVENT_PARENT=$MERGE_PARENT" >>$GITHUB_ENV
56
+
47
57
- name : Build example Telink Lighting App
48
58
run : |
49
59
./scripts/run_in_build_env.sh \
52
62
telink tlsr9518adk80d lighting-app \
53
63
out/telink-tlsr9518adk80d-light/zephyr/zephyr.elf \
54
64
/tmp/bloat_reports/
65
+
55
66
- name : Uploading Size Reports
56
67
uses : actions/upload-artifact@v2
57
68
if : ${{ !env.ACT }}
You can’t perform that action at this time.
0 commit comments