File tree Expand file tree Collapse file tree 2 files changed +49
-14
lines changed
tools/idf_py_actions/diag/recipes Expand file tree Collapse file tree 2 files changed +49
-14
lines changed Original file line number Diff line number Diff line change 66 cmds :
77 - exec :
88 cmd : ' idf.py --version'
9- timeout : 10
109 output : esp_idf.ver
1110
1211 - name : ' ESP-IDF Git Version'
1312 cmds :
1413 - exec :
1514 cmd : ' git -C ${IDF_PATH} describe'
1615 output : esp_idf_git.ver
17-
18- - name : ' Platform Information'
19- cmds :
20- - exec :
21- cmd :
22- - python
23- - -c
24- - |
25- import platform
26- print(f'system: {platform.system()}')
27- print(f'release: {platform.release()}')
28- print(f'machine: {platform.machine()}')
29- output : platform.inf
Original file line number Diff line number Diff line change 1+ description : System information
2+ tags : [system, base, project]
3+ steps :
4+ - name : ' Platform Information'
5+ cmds :
6+ - exec :
7+ cmd :
8+ - python
9+ - -c
10+ - |
11+ import platform
12+ print(f'system: {platform.system()}')
13+ print(f'release: {platform.release()}')
14+ print(f'machine: {platform.machine()}')
15+ output : platform.inf
16+
17+ - name : ' Linux System Information'
18+ system : Linux
19+ output : linux
20+ cmds :
21+ - file :
22+ path : ' /proc/cpuinfo'
23+ - file :
24+ path : ' /etc/os-release'
25+ - exec :
26+ cmd : ' uname -a'
27+ output : uname
28+
29+ - name : ' Darwin Information'
30+ system : Darwin
31+ output : darwin
32+ cmds :
33+ - exec :
34+ cmd : ' sysctl machdep.cpu'
35+ output : machdep.cpu
36+ - exec :
37+ cmd : ' sw_vers'
38+ output : sw_vers
39+ - exec :
40+ cmd : ' uname -a'
41+ output : uname
42+
43+ - name : ' Windows Information'
44+ system : Windows
45+ output : windows
46+ cmds :
47+ - exec :
48+ cmd : ' systeminfo'
49+ output : systeminfo
You can’t perform that action at this time.
0 commit comments