|
7 | 7 |
|
8 | 8 | permissions:
|
9 | 9 | contents: read
|
| 10 | + packages: write |
10 | 11 |
|
11 | 12 | jobs:
|
12 | 13 | build:
|
13 | 14 | runs-on: [self-hosted, Linux, X64]
|
14 | 15 | steps:
|
15 | 16 |
|
| 17 | + - name: Install dependencies with apt |
| 18 | + run: | |
| 19 | + sudo apt-get update |
| 20 | + sudo apt-get install git wget flex bison gperf quilt python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 -y |
16 | 21 | - name: Install packages
|
17 |
| - run: source tools/ci.sh && ci_esp32_idf522_setup |
| 22 | + run: source tools/ci.sh && ci_esp32_idf541_setup |
18 | 23 | - name: Build
|
19 | 24 | run: source tools/ci.sh && ci_esp32_nightly_build
|
20 | 25 | - name: Deliver AirQ firmware
|
21 |
| - uses: actions/upload-artifact@v3 |
| 26 | + uses: actions/upload-artifact@v4 |
22 | 27 | with:
|
23 | 28 | name: M5STACK_AirQ_firmware
|
24 | 29 | path: ./m5stack/build-M5STACK_AirQ/uiflow-*-*.bin
|
25 | 30 | - name: Deliver Atom Echo firmware
|
26 |
| - uses: actions/upload-artifact@v3 |
| 31 | + uses: actions/upload-artifact@v4 |
27 | 32 | with:
|
28 | 33 | name: M5STACK_Atom_Echo_firmware
|
29 | 34 | path: ./m5stack/build-M5STACK_Atom_Echo/uiflow-*-*.bin
|
30 | 35 | - name: Deliver Atom Lite firmware
|
31 |
| - uses: actions/upload-artifact@v3 |
| 36 | + uses: actions/upload-artifact@v4 |
32 | 37 | with:
|
33 | 38 | name: M5STACK_Atom_Lite_firmware
|
34 | 39 | path: ./m5stack/build-M5STACK_Atom_Lite/uiflow-*-*.bin
|
35 | 40 | - name: Deliver Atom Matrix firmware
|
36 |
| - uses: actions/upload-artifact@v3 |
| 41 | + uses: actions/upload-artifact@v4 |
37 | 42 | with:
|
38 | 43 | name: M5STACK_Atom_Matrix_firmware
|
39 | 44 | path: ./m5stack/build-M5STACK_Atom_Matrix/uiflow-*-*.bin
|
40 | 45 | - name: Deliver AtomS3 firmware
|
41 |
| - uses: actions/upload-artifact@v3 |
| 46 | + uses: actions/upload-artifact@v4 |
42 | 47 | with:
|
43 | 48 | name: M5STACK_AtomS3_firmware
|
44 | 49 | path: ./m5stack/build-M5STACK_AtomS3/uiflow-*-*.bin
|
45 | 50 | - name: Deliver AtomS3-Lite firmware
|
46 |
| - uses: actions/upload-artifact@v3 |
| 51 | + uses: actions/upload-artifact@v4 |
47 | 52 | with:
|
48 | 53 | name: M5STACK_AtomS3-Lite_firmware
|
49 | 54 | path: ./m5stack/build-M5STACK_AtomS3_Lite/uiflow-*-*.bin
|
50 | 55 | - name: Deliver AtomS3R firmware
|
51 |
| - uses: actions/upload-artifact@v3 |
| 56 | + uses: actions/upload-artifact@v4 |
52 | 57 | with:
|
53 | 58 | name: M5STACK_AtomS3R_firmware
|
54 | 59 | path: ./m5stack/build-M5STACK_AtomS3R/uiflow-*-*.bin
|
55 | 60 | - name: Deliver AtomS3R-CAM firmware
|
56 |
| - uses: actions/upload-artifact@v3 |
| 61 | + uses: actions/upload-artifact@v4 |
57 | 62 | with:
|
58 | 63 | name: M5STACK_AtomS3R_CAM_firmware
|
59 | 64 | path: ./m5stack/build-M5STACK_AtomS3R_CAM/uiflow-*-*.bin
|
60 | 65 | - name: Deliver AtomS3U firmware
|
61 |
| - uses: actions/upload-artifact@v3 |
| 66 | + uses: actions/upload-artifact@v4 |
62 | 67 | with:
|
63 | 68 | name: M5STACK_AtomS3U_firmware
|
64 | 69 | path: ./m5stack/build-M5STACK_AtomS3U/uiflow-*-*.bin
|
65 | 70 | - name: Deliver AtomU firmware
|
66 |
| - uses: actions/upload-artifact@v3 |
| 71 | + uses: actions/upload-artifact@v4 |
67 | 72 | with:
|
68 | 73 | name: M5STACK_AtomU_firmware
|
69 | 74 | path: ./m5stack/build-M5STACK_AtomU/uiflow-*-*.bin
|
70 | 75 | - name: Deliver Basic firmware
|
71 |
| - uses: actions/upload-artifact@v3 |
| 76 | + uses: actions/upload-artifact@v4 |
72 | 77 | with:
|
73 | 78 | name: M5STACK_Basic_firmware
|
74 | 79 | path: ./m5stack/build-M5STACK_Basic/uiflow-*-*.bin
|
75 | 80 | - name: Deliver Basic(4MB Flash) firmware
|
76 |
| - uses: actions/upload-artifact@v3 |
| 81 | + uses: actions/upload-artifact@v4 |
77 | 82 | with:
|
78 | 83 | name: M5STACK_Basic_4MB_Flash_firmware
|
79 | 84 | path: ./m5stack/build-M5STACK_Basic_4MB/uiflow-*-*.bin
|
80 | 85 | - name: Deliver Capsule firmware
|
81 |
| - uses: actions/upload-artifact@v3 |
| 86 | + uses: actions/upload-artifact@v4 |
82 | 87 | with:
|
83 | 88 | name: M5STACK_Capsule_firmware
|
84 | 89 | path: ./m5stack/build-M5STACK_Capsule/uiflow-*-*.bin
|
85 | 90 | - name: Deliver Cardputer firmware
|
86 |
| - uses: actions/upload-artifact@v3 |
| 91 | + uses: actions/upload-artifact@v4 |
87 | 92 | with:
|
88 | 93 | name: M5STACK_Cardputer_firmware
|
89 | 94 | path: ./m5stack/build-M5STACK_Cardputer/uiflow-*-*.bin
|
90 | 95 | - name: Deliver Core2 firmware
|
91 |
| - uses: actions/upload-artifact@v3 |
| 96 | + uses: actions/upload-artifact@v4 |
92 | 97 | with:
|
93 | 98 | name: M5STACK_Core2_firmware
|
94 | 99 | path: ./m5stack/build-M5STACK_Core2/uiflow-*-*.bin
|
95 | 100 | - name: Deliver CoreInk firmware
|
96 |
| - uses: actions/upload-artifact@v3 |
| 101 | + uses: actions/upload-artifact@v4 |
97 | 102 | with:
|
98 | 103 | name: M5STACK_CoreInk_firmware
|
99 | 104 | path: ./m5stack/build-M5STACK_CoreInk/uiflow-*-*.bin
|
100 | 105 | - name: Deliver CoreS3 firmware
|
101 |
| - uses: actions/upload-artifact@v3 |
| 106 | + uses: actions/upload-artifact@v4 |
102 | 107 | with:
|
103 | 108 | name: M5STACK_CoreS3_firmware
|
104 | 109 | path: ./m5stack/build-M5STACK_CoreS3/uiflow-*-*.bin
|
105 | 110 | - name: Deliver Dial firmware
|
106 |
| - uses: actions/upload-artifact@v3 |
| 111 | + uses: actions/upload-artifact@v4 |
107 | 112 | with:
|
108 | 113 | name: M5STACK_Dial_firmware
|
109 | 114 | path: ./m5stack/build-M5STACK_Dial/uiflow-*-*.bin
|
110 | 115 | - name: Deliver DinMeter firmware
|
111 |
| - uses: actions/upload-artifact@v3 |
| 116 | + uses: actions/upload-artifact@v4 |
112 | 117 | with:
|
113 | 118 | name: M5STACK_DinMeter_firmware
|
114 | 119 | path: ./m5stack/build-M5STACK_DinMeter/uiflow-*-*.bin
|
115 | 120 | - name: Deliver Fire firmware
|
116 |
| - uses: actions/upload-artifact@v3 |
| 121 | + uses: actions/upload-artifact@v4 |
117 | 122 | with:
|
118 | 123 | name: M5STACK_Fire_firmware
|
119 | 124 | path: ./m5stack/build-M5STACK_Fire/uiflow-*-*.bin
|
120 | 125 | - name: Deliver NanoC6 firmware
|
121 |
| - uses: actions/upload-artifact@v3 |
| 126 | + uses: actions/upload-artifact@v4 |
122 | 127 | with:
|
123 | 128 | name: M5STACK_NanoC6_firmware
|
124 | 129 | path: ./m5stack/build-M5STACK_NanoC6/uiflow-*-*.bin
|
125 | 130 | - name: Deliver Paper firmware
|
126 |
| - uses: actions/upload-artifact@v3 |
| 131 | + uses: actions/upload-artifact@v4 |
127 | 132 | with:
|
128 | 133 | name: M5STACK_Paper_firmware
|
129 | 134 | path: ./m5stack/build-M5STACK_Paper/uiflow-*-*.bin
|
130 | 135 | - name: Deliver PaperS3 firmware
|
131 |
| - uses: actions/upload-artifact@v3 |
| 136 | + uses: actions/upload-artifact@v4 |
132 | 137 | with:
|
133 | 138 | name: M5STACK_Paper_firmware
|
134 | 139 | path: ./m5stack/build-M5STACK_PaperS3/uiflow-*-*.bin
|
135 | 140 | - name: Deliver Stamp PICO firmware
|
136 |
| - uses: actions/upload-artifact@v3 |
| 141 | + uses: actions/upload-artifact@v4 |
137 | 142 | with:
|
138 | 143 | name: M5STACK_Stamp_PICO_firmware
|
139 | 144 | path: ./m5stack/build-M5STACK_Stamp_PICO/uiflow-*-*.bin
|
140 | 145 | - name: Deliver StamPLC firmware
|
141 |
| - uses: actions/upload-artifact@v3 |
| 146 | + uses: actions/upload-artifact@v4 |
142 | 147 | with:
|
143 | 148 | name: M5STACK_StamPLC_firmware
|
144 | 149 | path: ./m5stack/build-M5STACK_StamPLC/uiflow-*-*.bin
|
145 | 150 | - name: Deliver StampS3 firmware
|
146 |
| - uses: actions/upload-artifact@v3 |
| 151 | + uses: actions/upload-artifact@v4 |
147 | 152 | with:
|
148 | 153 | name: M5STACK_StampS3_firmware
|
149 | 154 | path: ./m5stack/build-M5STACK_StampS3/uiflow-*-*.bin
|
150 | 155 | - name: Deliver Station firmware
|
151 |
| - uses: actions/upload-artifact@v3 |
| 156 | + uses: actions/upload-artifact@v4 |
152 | 157 | with:
|
153 | 158 | name: M5STACK_Station_firmware
|
154 | 159 | path: ./m5stack/build-M5STACK_Station/uiflow-*-*.bin
|
155 | 160 | - name: Deliver StickC firmware
|
156 |
| - uses: actions/upload-artifact@v3 |
| 161 | + uses: actions/upload-artifact@v4 |
157 | 162 | with:
|
158 | 163 | name: M5STACK_StickC_firmware
|
159 | 164 | path: ./m5stack/build-M5STACK_StickC/uiflow-*-*.bin
|
160 | 165 | - name: Deliver StickC_PLUS firmware
|
161 |
| - uses: actions/upload-artifact@v3 |
| 166 | + uses: actions/upload-artifact@v4 |
162 | 167 | with:
|
163 | 168 | name: M5STACK_StickC_PLUS_firmware
|
164 | 169 | path: ./m5stack/build-M5STACK_StickC_PLUS/uiflow-*-*.bin
|
165 | 170 | - name: Deliver StickC_PLUS2 firmware
|
166 |
| - uses: actions/upload-artifact@v3 |
| 171 | + uses: actions/upload-artifact@v4 |
167 | 172 | with:
|
168 | 173 | name: M5STACK_StickC_PLUS2_firmware
|
169 | 174 | path: ./m5stack/build-M5STACK_StickC_PLUS2/uiflow-*-*.bin
|
170 | 175 | - name: Deliver Tough firmware
|
171 |
| - uses: actions/upload-artifact@v3 |
| 176 | + uses: actions/upload-artifact@v4 |
172 | 177 | with:
|
173 | 178 | name: M5STACK_Tough_firmware
|
174 | 179 | path: ./m5stack/build-M5STACK_Tough/uiflow-*-*.bin
|
175 | 180 | - name: Deliver XIAOS3 firmware
|
176 |
| - uses: actions/upload-artifact@v3 |
| 181 | + uses: actions/upload-artifact@v4 |
177 | 182 | with:
|
178 | 183 | name: M5STACK_XIAOS3_firmware
|
179 | 184 | path: ./third-party/build-SEEED_STUDIO_XIAO_ESP32S3/uiflow-*-*.bin
|
180 | 185 | - name: Deliver BOX-3 firmware
|
181 |
| - uses: actions/upload-artifact@v3 |
| 186 | + uses: actions/upload-artifact@v4 |
182 | 187 | with:
|
183 | 188 | name: M5STACK_BOX_3_firmware
|
184 | 189 | path: ./third-party/build-ESPRESSIF_ESP32_S3_BOX_3/uiflow-*-*.bin
|
0 commit comments