@@ -55,10 +55,31 @@ jobs:
55
55
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
56
56
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
57
57
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
58
- - name : Download and install stable Nanopb
58
+ - name : Download stable Nanopb
59
+ id : download-nanopb
60
+ continue-on-error : true
59
61
run : |
60
- # Download and extract nanopb
61
62
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
63
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
64
+ name : Restore cached nanopb
65
+ id : cache-nanopb-restore
66
+ uses : actions/cache/restore@v4
67
+ env :
68
+ cache-name : cache-node-modules
69
+ with :
70
+ path : ./nanopb-0.4.8.tar.gz
71
+ key : nanopb-0.4.8.tar.gz
72
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
73
+ name : Save nanopb to cache
74
+ id : cache-nanopb-save
75
+ uses : actions/cache/save@v4
76
+ env :
77
+ cache-name : cache-node-modules
78
+ with :
79
+ path : ./nanopb-0.4.8.tar.gz
80
+ key : nanopb-0.4.8.tar.gz
81
+ - name : Install stable Nanopb
82
+ run : |
62
83
tar -xf nanopb-0.4.8.tar.gz
63
84
# Copy files to WipperSnapper's src/nanopb directory
64
85
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -200,10 +221,31 @@ jobs:
200
221
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
201
222
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
202
223
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
203
- - name : Download and install stable Nanopb
224
+ - name : Download stable Nanopb
225
+ id : download-nanopb
226
+ continue-on-error : true
204
227
run : |
205
- # Download and extract nanopb
206
228
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
229
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
230
+ name : Restore cached nanopb
231
+ id : cache-nanopb-restore
232
+ uses : actions/cache/restore@v4
233
+ env :
234
+ cache-name : cache-node-modules
235
+ with :
236
+ path : ./nanopb-0.4.8.tar.gz
237
+ key : nanopb-0.4.8.tar.gz
238
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
239
+ name : Save nanopb to cache
240
+ id : cache-nanopb-save
241
+ uses : actions/cache/save@v4
242
+ env :
243
+ cache-name : cache-node-modules
244
+ with :
245
+ path : ./nanopb-0.4.8.tar.gz
246
+ key : nanopb-0.4.8.tar.gz
247
+ - name : Install stable Nanopb
248
+ run : |
207
249
tar -xf nanopb-0.4.8.tar.gz
208
250
# Copy files to WipperSnapper's src/nanopb directory
209
251
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -279,10 +321,31 @@ jobs:
279
321
run : |
280
322
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
281
323
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
282
- - name : Download and install stable Nanopb
324
+ - name : Download stable Nanopb
325
+ id : download-nanopb
326
+ continue-on-error : true
283
327
run : |
284
- # Download and extract nanopb
285
328
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
329
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
330
+ name : Restore cached nanopb
331
+ id : cache-nanopb-restore
332
+ uses : actions/cache/restore@v4
333
+ env :
334
+ cache-name : cache-node-modules
335
+ with :
336
+ path : ./nanopb-0.4.8.tar.gz
337
+ key : nanopb-0.4.8.tar.gz
338
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
339
+ name : Save nanopb to cache
340
+ id : cache-nanopb-save
341
+ uses : actions/cache/save@v4
342
+ env :
343
+ cache-name : cache-node-modules
344
+ with :
345
+ path : ./nanopb-0.4.8.tar.gz
346
+ key : nanopb-0.4.8.tar.gz
347
+ - name : Install stable Nanopb
348
+ run : |
286
349
tar -xf nanopb-0.4.8.tar.gz
287
350
# Copy files to WipperSnapper's src/nanopb directory
288
351
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -386,10 +449,31 @@ jobs:
386
449
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
387
450
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
388
451
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
389
- - name : Download and install stable Nanopb
452
+ - name : Download stable Nanopb
453
+ id : download-nanopb
454
+ continue-on-error : true
390
455
run : |
391
- # Download and extract nanopb
392
456
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
457
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
458
+ name : Restore cached nanopb
459
+ id : cache-nanopb-restore
460
+ uses : actions/cache/restore@v4
461
+ env :
462
+ cache-name : cache-node-modules
463
+ with :
464
+ path : ./nanopb-0.4.8.tar.gz
465
+ key : nanopb-0.4.8.tar.gz
466
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
467
+ name : Save nanopb to cache
468
+ id : cache-nanopb-save
469
+ uses : actions/cache/save@v4
470
+ env :
471
+ cache-name : cache-node-modules
472
+ with :
473
+ path : ./nanopb-0.4.8.tar.gz
474
+ key : nanopb-0.4.8.tar.gz
475
+ - name : Install stable Nanopb
476
+ run : |
393
477
tar -xf nanopb-0.4.8.tar.gz
394
478
# Copy files to WipperSnapper's src/nanopb directory
395
479
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -414,7 +498,7 @@ jobs:
414
498
strategy :
415
499
fail-fast : false
416
500
matrix :
417
- arduino-platform : ["picow_rp2040_tinyusb"]
501
+ arduino-platform : ["picow_rp2040_tinyusb", "picow_rp2350_tinyusb" ]
418
502
steps :
419
503
- uses : actions/setup-python@v5
420
504
with :
@@ -438,10 +522,31 @@ jobs:
438
522
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
439
523
git clone --quiet https://github.com/pstolarz/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
440
524
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
441
- - name : Download and install stable Nanopb
525
+ - name : Download stable Nanopb
526
+ id : download-nanopb
527
+ continue-on-error : true
442
528
run : |
443
- # Download and extract nanopb
444
529
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
530
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
531
+ name : Restore cached nanopb
532
+ id : cache-nanopb-restore
533
+ uses : actions/cache/restore@v4
534
+ env :
535
+ cache-name : cache-node-modules
536
+ with :
537
+ path : ./nanopb-0.4.8.tar.gz
538
+ key : nanopb-0.4.8.tar.gz
539
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
540
+ name : Save nanopb to cache
541
+ id : cache-nanopb-save
542
+ uses : actions/cache/save@v4
543
+ env :
544
+ cache-name : cache-node-modules
545
+ with :
546
+ path : ./nanopb-0.4.8.tar.gz
547
+ key : nanopb-0.4.8.tar.gz
548
+ - name : Install stable Nanopb
549
+ run : |
445
550
tar -xf nanopb-0.4.8.tar.gz
446
551
# Copy files to WipperSnapper's src/nanopb directory
447
552
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -489,10 +594,31 @@ jobs:
489
594
git clone --quiet https://github.com/arduino-libraries/Servo.git /home/runner/Arduino/libraries/Servo
490
595
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
491
596
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
492
- - name : Download and install stable Nanopb
597
+ - name : Download stable Nanopb
598
+ id : download-nanopb
599
+ continue-on-error : true
493
600
run : |
494
- # Download and extract nanopb
495
601
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
602
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
603
+ name : Restore cached nanopb
604
+ id : cache-nanopb-restore
605
+ uses : actions/cache/restore@v4
606
+ env :
607
+ cache-name : cache-node-modules
608
+ with :
609
+ path : ./nanopb-0.4.8.tar.gz
610
+ key : nanopb-0.4.8.tar.gz
611
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
612
+ name : Save nanopb to cache
613
+ id : cache-nanopb-save
614
+ uses : actions/cache/save@v4
615
+ env :
616
+ cache-name : cache-node-modules
617
+ with :
618
+ path : ./nanopb-0.4.8.tar.gz
619
+ key : nanopb-0.4.8.tar.gz
620
+ - name : Install stable Nanopb
621
+ run : |
496
622
tar -xf nanopb-0.4.8.tar.gz
497
623
# Copy files to WipperSnapper's src/nanopb directory
498
624
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -528,10 +654,31 @@ jobs:
528
654
run : |
529
655
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
530
656
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
531
- - name : Download and install stable Nanopb
657
+ - name : Download stable Nanopb
658
+ id : download-nanopb
659
+ continue-on-error : true
532
660
run : |
533
- # Download and extract nanopb
534
661
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
662
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
663
+ name : Restore cached nanopb
664
+ id : cache-nanopb-restore
665
+ uses : actions/cache/restore@v4
666
+ env :
667
+ cache-name : cache-node-modules
668
+ with :
669
+ path : ./nanopb-0.4.8.tar.gz
670
+ key : nanopb-0.4.8.tar.gz
671
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
672
+ name : Save nanopb to cache
673
+ id : cache-nanopb-save
674
+ uses : actions/cache/save@v4
675
+ env :
676
+ cache-name : cache-node-modules
677
+ with :
678
+ path : ./nanopb-0.4.8.tar.gz
679
+ key : nanopb-0.4.8.tar.gz
680
+ - name : Install stable Nanopb
681
+ run : |
535
682
tar -xf nanopb-0.4.8.tar.gz
536
683
# Copy files to WipperSnapper's src/nanopb directory
537
684
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -603,10 +750,31 @@ jobs:
603
750
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
604
751
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
605
752
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
606
- - name : Download and install stable Nanopb
753
+ - name : Download stable Nanopb
754
+ id : download-nanopb
755
+ continue-on-error : true
607
756
run : |
608
- # Download and extract nanopb
609
757
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
758
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
759
+ name : Restore cached nanopb
760
+ id : cache-nanopb-restore
761
+ uses : actions/cache/restore@v4
762
+ env :
763
+ cache-name : cache-node-modules
764
+ with :
765
+ path : ./nanopb-0.4.8.tar.gz
766
+ key : nanopb-0.4.8.tar.gz
767
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
768
+ name : Save nanopb to cache
769
+ id : cache-nanopb-save
770
+ uses : actions/cache/save@v4
771
+ env :
772
+ cache-name : cache-node-modules
773
+ with :
774
+ path : ./nanopb-0.4.8.tar.gz
775
+ key : nanopb-0.4.8.tar.gz
776
+ - name : Install stable Nanopb
777
+ run : |
610
778
tar -xf nanopb-0.4.8.tar.gz
611
779
# Copy files to WipperSnapper's src/nanopb directory
612
780
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -675,10 +843,31 @@ jobs:
675
843
run : |
676
844
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
677
845
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
678
- - name : Download and install stable Nanopb
846
+ - name : Download stable Nanopb
847
+ id : download-nanopb
848
+ continue-on-error : true
679
849
run : |
680
- # Download and extract nanopb
681
850
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
851
+ - if : ${{ failure() || steps.download-nanopb.outcome != 'success' }}
852
+ name : Restore cached nanopb
853
+ id : cache-nanopb-restore
854
+ uses : actions/cache/restore@v4
855
+ env :
856
+ cache-name : cache-node-modules
857
+ with :
858
+ path : ./nanopb-0.4.8.tar.gz
859
+ key : nanopb-0.4.8.tar.gz
860
+ - if : ${{ steps.download-nanopb.outcome == 'success' }}
861
+ name : Save nanopb to cache
862
+ id : cache-nanopb-save
863
+ uses : actions/cache/save@v4
864
+ env :
865
+ cache-name : cache-node-modules
866
+ with :
867
+ path : ./nanopb-0.4.8.tar.gz
868
+ key : nanopb-0.4.8.tar.gz
869
+ - name : Install stable Nanopb
870
+ run : |
682
871
tar -xf nanopb-0.4.8.tar.gz
683
872
# Copy files to WipperSnapper's src/nanopb directory
684
873
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
0 commit comments