@@ -36,20 +36,20 @@ jobs:
36
36
echo >>$GITHUB_ENV WS_VERSION=$(git describe --dirty --tags)
37
37
- uses : actions/checkout@v2
38
38
with :
39
- repository : adafruit /ci-arduino
39
+ repository : brentru /ci-arduino
40
40
path : ci
41
41
- name : Install CI-Arduino
42
42
run : bash ci/actions_install.sh
43
43
- name : Install extra Arduino libraries
44
44
run : |
45
45
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
46
- git clone --quiet https://github.com/PaulStoffregen/OneWire .git /home/runner/Arduino/libraries/OneWire
46
+ git clone --quiet https://github.com/pstolarz/OneWireNg .git /home/runner/Arduino/libraries/OneWireNg
47
47
git clone --quiet https://github.com/adafruit/Adafruit_HX8357_Library.git /home/runner/Arduino/libraries/Adafruit_HX8357_Library
48
48
git clone --quiet https://github.com/adafruit/Adafruit_ILI9341.git /home/runner/Arduino/libraries/Adafruit_ILI9341
49
49
git clone --quiet https://github.com/adafruit/Adafruit_STMPE610.git /home/runner/Arduino/libraries/Adafruit_STMPE610
50
50
git clone --quiet https://github.com/adafruit/Adafruit-ST7735-Library.git /home/runner/Arduino/libraries/Adafruit-ST7735-Library
51
51
git clone --quiet https://github.com/adafruit/Adafruit_TouchScreen.git /home/runner/Arduino/libraries/Adafruit_TouchScreen
52
- git clone --depth 1 --branch v8.2.0 https://github.com/lvgl /lvgl.git /home/runner/Arduino/libraries/lvgl
52
+ git clone --depth 1 --branch wippersnapper https://github.com/brentru /lvgl.git /home/runner/Arduino/libraries/lvgl
53
53
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
54
54
- name : List all files in Adafruit_LittlevGL_Glue_Library folder
55
55
run : |
98
98
echo >>$GITHUB_ENV WS_VERSION=$(git describe --dirty --tags)
99
99
- uses : actions/checkout@v2
100
100
with :
101
- repository : adafruit /ci-arduino
101
+ repository : brentru /ci-arduino
102
102
path : ci
103
103
- name : Checkout Board Definitions
104
104
uses : actions/checkout@v2
@@ -110,12 +110,15 @@ jobs:
110
110
- name : Install extra Arduino libraries
111
111
run : |
112
112
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
113
- git clone --quiet https://github.com/PaulStoffregen/OneWire .git /home/runner/Arduino/libraries/OneWire
113
+ git clone --quiet https://github.com/pstolarz/OneWireNg .git /home/runner/Arduino/libraries/OneWireNg
114
114
- name : Install Dependencies
115
115
run : |
116
116
pip3 install esptool
117
117
- name : build ESP32 platforms
118
118
run : python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000
119
+ - name : Check artifacts
120
+ run : |
121
+ ls examples/Wippersnapper_demo/build/*
119
122
- name : Rename build artifacts to reflect the platform name
120
123
run : |
121
124
mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bin
@@ -329,6 +332,68 @@ jobs:
329
332
path : |
330
333
wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.zip
331
334
335
+ build-esp32sx-dev :
336
+ name : Build WipperSnapper ESP32-Sx DEV BUILDS
337
+ runs-on : ubuntu-latest
338
+ strategy :
339
+ fail-fast : false
340
+ matrix :
341
+ arduino-platform : ["feather_esp32s2_dev", "feather_esp32s2_tft_dev",
342
+ " feather_esp32s2_reverse_tft_dev" , "feather_esp32s3_dev",
343
+ " feather_esp32s3_4mbflash_2mbpsram_dev" , "feather_esp32s3_tft_dev",
344
+ " feather_esp32s3_reverse_tft_dev" ]
345
+ steps :
346
+ - uses : actions/setup-python@v1
347
+ with :
348
+ python-version : ' 3.x'
349
+ - uses : actions/checkout@v2
350
+ - name : Get WipperSnapper version
351
+ run : |
352
+ git fetch --prune --unshallow --tags
353
+ git describe --dirty --tags
354
+ echo >>$GITHUB_ENV WS_VERSION=$(git describe --dirty --tags)
355
+ - uses : actions/checkout@v2
356
+ with :
357
+ repository : brentru/ci-arduino
358
+ path : ci
359
+ - name : Install CI-Arduino
360
+ run : bash ci/actions_install.sh
361
+ - name : Install extra Arduino libraries
362
+ run : |
363
+ git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
364
+ git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
365
+ git clone --quiet https://github.com/adafruit/Adafruit_HX8357_Library.git /home/runner/Arduino/libraries/Adafruit_HX8357_Library
366
+ git clone --quiet https://github.com/adafruit/Adafruit_ILI9341.git /home/runner/Arduino/libraries/Adafruit_ILI9341
367
+ git clone --quiet https://github.com/adafruit/Adafruit_STMPE610.git /home/runner/Arduino/libraries/Adafruit_STMPE610
368
+ git clone --quiet https://github.com/adafruit/Adafruit-ST7735-Library.git /home/runner/Arduino/libraries/Adafruit-ST7735-Library
369
+ git clone --quiet https://github.com/adafruit/Adafruit_TouchScreen.git /home/runner/Arduino/libraries/Adafruit_TouchScreen
370
+ git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
371
+ git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
372
+ - name : List all files in Adafruit_LittlevGL_Glue_Library folder
373
+ run : |
374
+ ls /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
375
+ - name : Copy lv_conf.h file in Adafruit_LittlevGL_Glue_Library to the arduino library folder
376
+ run : |
377
+ cp /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library/lv_conf.h /home/runner/Arduino/libraries
378
+ - name : Build for ESP32-SX
379
+ run : python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000
380
+ - name : list
381
+ run : |
382
+ ls
383
+ ls examples/*/build/
384
+ - name : Rename build artifacts to reflect the platform name
385
+ run : |
386
+ mv examples/*/build/*/wippersnapper_debug.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
387
+ mv examples/*/build/*/wippersnapper_debug.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
388
+ - name : upload build artifacts
389
+ uses : actions/upload-artifact@v3
390
+ with :
391
+ name : build-files-dev
392
+ path : |
393
+ wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
394
+ wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
395
+
396
+
332
397
333
398
clang_and_doxy :
334
399
runs-on : ubuntu-latest
0 commit comments