File tree Expand file tree Collapse file tree 6 files changed +86
-323
lines changed Expand file tree Collapse file tree 6 files changed +86
-323
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto Build SDK For All Targets
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ - ' !master'
8
+
9
+ jobs :
10
+ run :
11
+ name : Build ${{ github.ref_name }} SDK For all
12
+
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+
18
+ - name : Install dependencies
19
+ run : bash ./tools/prepare-ci.sh
20
+
21
+ - name : Build
22
+ shell : bash
23
+ run : |
24
+ echo "Building for all"
25
+ bash ./build.sh -e -t all
26
+
27
+ - name : Upload archive
28
+ uses : actions/upload-artifact@v3
29
+ with :
30
+ name : artifacts
31
+ path : dist
Original file line number Diff line number Diff line change
1
+ name : Manual Build SDK (v3) For the Specific Target
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ target :
7
+ type : choice
8
+ description : Choose Target
9
+ default : ' all'
10
+ options :
11
+ - ' all'
12
+ - ' esp32'
13
+ - ' esp32s2'
14
+ - ' esp32s3'
15
+ - ' esp32c3'
16
+ - ' esp32c6'
17
+ - ' esp32h6'
18
+ log_level :
19
+ type : choice
20
+ description : Choose Log Level
21
+ default : ' default'
22
+ options :
23
+ - ' default'
24
+ - ' none'
25
+ - ' verbose'
26
+ - ' debug'
27
+ - ' info'
28
+ - ' warning'
29
+ - ' error'
30
+
31
+ jobs :
32
+ run :
33
+ name : Build ${{ github.ref_name }} SDK (v3) For ${{ github.event.inputs.target }}
34
+
35
+ runs-on : ubuntu-latest
36
+
37
+ steps :
38
+ - uses : actions/checkout@v3
39
+
40
+ - name : Install dependencies
41
+ run : bash ./tools/prepare-ci.sh
42
+
43
+ - name : Build
44
+ shell : bash
45
+ run : |
46
+ export TARGET_TYPE=${{ github.event.inputs.target }}
47
+ export LOG_LEVEL=${{ github.event.inputs.log_level }}
48
+ echo "Building for $TARGET_TYPE (log_level: $LOG_LEVEL)"
49
+ bash ./build.sh -e -t $TARGET_TYPE -D $LOG_LEVEL
50
+
51
+ - name : Upload archive
52
+ uses : actions/upload-artifact@v3
53
+ with :
54
+ name : artifacts
55
+ path : dist
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments