Skip to content

Commit 078aa23

Browse files
committed
ci: Add daily build
Signed-off-by: lbuque <[email protected]>
1 parent 178e187 commit 078aa23

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.github/workflows/nightly-build.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Nightly Build
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build_atoms3:
13+
runs-on: ubuntu-20.04
14+
steps:
15+
- uses: actions/[email protected]
16+
- name: Install packages
17+
run: source tools/ci.sh && ci_esp32_idf44_setup
18+
- name: Build
19+
run: source tools/ci.sh && ci_esp32_nightly_build
20+
- name: Deliver AtomS3 firmware
21+
uses: actions/upload-artifact@v3
22+
with:
23+
name: M5STACK_AtomS3_firmware
24+
path: ./m5stack/build-M5STACK_AtomS3/uiflow-*.bin
25+
- name: Deliver AtomS3-Lite firmware
26+
uses: actions/upload-artifact@v3
27+
with:
28+
name: M5STACK_AtomS3-Lite_firmware
29+
path: ./m5stack/build-M5STACK_AtomS3_Lite/uiflow-*.bin
30+
- name: Deliver StampS3 firmware
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: M5STACK_StampS3_firmware
34+
path: ./m5stack/build-M5STACK_StampS3/uiflow-*.bin
35+
- name: Deliver CoreS3 firmware
36+
uses: actions/upload-artifact@v3
37+
with:
38+
name: M5STACK_CoreS3_firmware
39+
path: ./m5stack/build-M5STACK_CoreS3/uiflow-*.bin
40+
- name: Deliver AtomS3U firmware
41+
uses: actions/upload-artifact@v3
42+
with:
43+
name: M5STACK_AtomS3U_firmware
44+
path: ./m5stack/build-M5STACK_AtomS3U/uiflow-*.bin
45+
- name: Deliver Core2 firmware
46+
uses: actions/upload-artifact@v3
47+
with:
48+
name: M5STACK_Core2_firmware
49+
path: ./m5stack/build-M5STACK_Core2/uiflow-*.bin
50+
- name: Deliver StickC_PLUS2 firmware
51+
uses: actions/upload-artifact@v3
52+
with:
53+
name: M5STACK_StickC_PLUS2_firmware
54+
path: ./m5stack/build-M5STACK_StickC_PLUS2/uiflow-*.bin
55+
- name: Deliver StickC_PLUS firmware
56+
uses: actions/upload-artifact@v3
57+
with:
58+
name: M5STACK_StickC_PLUS_firmware
59+
path: ./m5stack/build-M5STACK_StickC_PLUS/uiflow-*.bin
60+
- name: Deliver Fire firmware
61+
uses: actions/upload-artifact@v3
62+
with:
63+
name: M5STACK_Fire_firmware
64+
path: ./m5stack/build-M5STACK_Fire/uiflow-*.bin

0 commit comments

Comments
 (0)