File tree 6 files changed +19
-13
lines changed
examples/network-manager-app/linux/include
6 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ concurrency:
27
27
28
28
env :
29
29
CHIP_NO_LOG_TIMESTAMPS : true
30
-
30
+
31
31
jobs :
32
32
33
33
qemu-esp32 :
75
75
name : Tizen
76
76
77
77
runs-on : ubuntu-latest
78
- # NOTE: job temporarely disabled as it seems flaky. The flake does not result in usable
79
- # logs so the current theory is that we run out of space. This is unusual as
80
- # larger docker images succeed at bootstrap, however it needs more investigation
81
- # to detect an exact/real root cause.
82
- if : false
83
- # if: github.actor != 'restyled-io[bot]'
78
+ if : github.actor != 'restyled-io[bot]'
84
79
85
80
container :
86
81
image : ghcr.io/project-chip/chip-build-tizen-qemu:54
Original file line number Diff line number Diff line change @@ -334,7 +334,11 @@ config("warnings_third_party") {
334
334
}
335
335
336
336
config (" symbols_default" ) {
337
- cflags = [ " -g${ symbol_level } " ]
337
+ if (strip_symbols ) {
338
+ cflags = [ " -s" ]
339
+ } else {
340
+ cflags = [ " -g${ symbol_level } " ]
341
+ }
338
342
}
339
343
340
344
config (" std_default" ) {
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ declare_args() {
30
30
symbol_level = 2
31
31
32
32
# Enable position independent code (-fPIC).
33
- enable_pic =
34
- current_os == " linux " || current_os == " mac " || current_os == " android "
33
+ enable_pic = current_os == " linux " || current_os == " mac " ||
34
+ current_os == " android " || current_os == " tizen "
35
35
36
36
# Enable position independent executables (-pie).
37
- enable_pie = current_os == " linux"
37
+ enable_pie = current_os == " linux" || current_os == " tizen "
38
38
39
39
# Remove unwind tables from the binary to save space.
40
40
exclude_unwind_tables = current_os != " android"
@@ -48,6 +48,9 @@ declare_args() {
48
48
# enable libfuzzer
49
49
is_libfuzzer = false
50
50
51
+ # Remove all symbol table and relocation information from the binary.
52
+ strip_symbols = false
53
+
51
54
# Generate code coverage analysis artifacts when enabled.
52
55
use_coverage = false
53
56
Original file line number Diff line number Diff line change 18
18
19
19
#pragma once
20
20
21
- #define CHIP_DEVICE_CONFIG_DEVICE_TYPE 0xFFF10010 // TODO: ID-TBD
21
+ #define CHIP_DEVICE_CONFIG_DEVICE_TYPE 144 // 0x0090 Network Infrastructure Manager
22
22
#define CHIP_DEVICE_CONFIG_DEVICE_NAME "Network Infrastructure Manager"
23
23
24
24
// Inherit defaults from config/standalone/CHIPProjectConfig.h
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ def __init__(self,
117
117
118
118
if app == TizenApp .TESTS :
119
119
self .extra_gn_options .append ('chip_build_tests=true' )
120
+ # Tizen test driver creates ISO image with all unit test files. So,
121
+ # it uses twice as much space as regular build. Due to CI storage
122
+ # limitations, we need to strip debug symbols from executables.
123
+ self .extra_gn_options .append ('strip_symbols=true' )
120
124
self .build_command = 'check'
121
125
122
126
if not enable_ble :
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ template("tizen_qemu_mkisofs") {
189
189
" mkisofs" ,
190
190
" -input-charset=default" ,
191
191
" -VCHIP" , # Volume ID = CHIP
192
- " -JRU " , # Joliet + Rock Ridge with untranslated filenames
192
+ " -JrU " , # Joliet + Rock Ridge with untranslated filenames
193
193
]
194
194
195
195
# Exclude files from the ISO image which might otherwise be included
You can’t perform that action at this time.
0 commit comments