File tree 2 files changed +34
-4
lines changed
2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,40 @@ jobs:
10
10
- name : Build with Arduino-CLI
11
11
run : bash ci/build-arduino.sh
12
12
13
- pio-build :
13
+ pio-builds :
14
14
runs-on : ubuntu-latest
15
+ strategy :
16
+ matrix :
17
+ product :
18
+ - fastled_webserver
19
+ - esp_thing
20
+ - kraken64
21
+ - chamaeleon64
22
+ - 1628_rings
23
+ - fib1024
24
+ - fib512
25
+ - fib256
26
+ - fib128
27
+ - fib64_full
28
+ - fib64_mini
29
+ - fib32
30
+ platform :
31
+ - d1_mini
32
+ # - mini32 # When ESP32 is supported, one-line change to enable 2x product builds
33
+
15
34
steps :
16
35
- name : Checkout
17
36
uses : actions/checkout@v2
18
37
19
- - name : Build with PlatformIO
38
+ - name : Build
39
+ env :
40
+ FIB_PRODUCT : ${{ matrix.product }}__${{ matrix.platform }}
20
41
run : bash ci/build-platformio.sh
21
42
22
43
- uses : actions/upload-artifact@v2
23
44
with :
24
45
name : firmware
25
- path : .pio/build/*/firmware.bin
46
+ path : |
47
+ .pio/build/*/firmware.bin
48
+ .pio/build/*/firmware.elf
49
+ .pio/build/*/littlefs.bin
Original file line number Diff line number Diff line change @@ -15,4 +15,10 @@ python3 get-platformio.py
15
15
pio platform install " espressif8266"
16
16
17
17
# Compile project
18
- pio run
18
+ if [[ ! -v FIB_PRODUCT ]]; then
19
+ pio run
20
+ pio run --target buildfs
21
+ else
22
+ pio run --environment ${FIB_PRODUCT}
23
+ pio run --target buildfs --environment ${FIB_PRODUCT}
24
+ fi
You can’t perform that action at this time.
0 commit comments