File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,34 @@ 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
Original file line number Diff line number Diff line change @@ -15,4 +15,9 @@ 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
+ else
21
+ pio run --environment ${FIB_PRODUCT}
22
+ fi
23
+
You can’t perform that action at this time.
0 commit comments