Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Feb 1, 2024
1 parent ad29a12 commit 55e2ea8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 32 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,21 @@ jobs:
strategy:
matrix:
examples:
[
examples/AdjustBacklight/AdjustBacklight.ino,
examples/Arduino_GFX_HelloWorld/Arduino_GFX_HelloWorld.ino,
examples/Arduino_GFX_SpriteGif/Arduino_GFX_SpriteGif.ino,
examples/BatteryVoltage/BatteryVoltage.ino,
examples/lv_benchmark/lv_benchmark.ino,
examples/lv_factory/lv_factory.ino,
examples/lv_helloworld/lv_helloworld.ino,
examples/lv_gif/lv_gif.ino,
examples/lv_images/lv_images.ino,
examples/lv_music/lv_music.ino,
examples/lv_qrcode/lv_qrcode.ino,
examples/RGBPanel/RGBPanel.ino,
examples/TFT_eSPI_Sprite/TFT_eSPI_Sprite.ino,
examples/Touchpad/Touchpad.ino,
]
- examples/AdjustBacklight/AdjustBacklight.ino
- examples/Arduino_GFX_HelloWorld/Arduino_GFX_HelloWorld.ino
- examples/Arduino_GFX_SpriteGif/Arduino_GFX_SpriteGif.ino
- examples/BatteryVoltage/BatteryVoltage.ino
- examples/lv_benchmark/lv_benchmark.ino
- examples/lv_factory/lv_factory.ino
- examples/lv_helloworld/lv_helloworld.ino
- examples/lv_gif/lv_gif.ino
- examples/lv_slider/lv_slider.ino
- examples/lv_images/lv_images.ino
- examples/lv_music/lv_music.ino
- examples/lv_qrcode/lv_qrcode.ino
- examples/RGBPanel/RGBPanel.ino
- examples/TFT_eSPI_Sprite/TFT_eSPI_Sprite.ino
- examples/Touchpad/Touchpad.ino

env:
EXAMPLES: ${{matrix.examples}}
Expand All @@ -55,6 +54,6 @@ jobs:
git clone -b v0.1.5 https://github.com/lewisxhe/SensorLib.git
git clone -b v2.5.33 https://github.com/Bodmer/TFT_eSPI.git
git clone -b v1.4.2 https://github.com/moononournation/Arduino_GFX.git
cd $GITHUB_WORKSPACE ;
arduino-cli compile -besp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,PSRAM=opi --library . $PWD/$EXAMPLES ;
28 changes: 13 additions & 15 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@ jobs:
strategy:
matrix:
example:
[
examples/AdjustBacklight,
examples/BatteryVoltage,
examples/lv_benchmark,
examples/lv_factory,
examples/lv_helloworld,
examples/lv_gif,
examples/lv_images,
examples/lv_music,
examples/lv_qrcode,
examples/RGBPanel,
examples/TFT_eSPI_Sprite,
examples/Touchpad,
]
- examples/AdjustBacklight
- examples/BatteryVoltage
- examples/lv_benchmark
- examples/lv_factory
- examples/lv_helloworld
- examples/lv_gif
- examples/lv_images
- examples/lv_music
- examples/lv_qrcode
- examples/lv_slider
- examples/RGBPanel
- examples/TFT_eSPI_Sprite
- examples/Touchpad

steps:
- uses: actions/checkout@v3
Expand All @@ -45,7 +44,6 @@ jobs:
- name: Install PlatformIO Core
run: pip install --upgrade platformio


- name: Run PlatformIO
run: pio run
env:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ examples/
├── lv_gif # lvgl gif decoding example
├── lv_images # lvgl Picture decoding example
├── lv_music # lvgl music example
├── lv_slider # lvgl slider example
└── lv_qrcode # lvgl qrcode example
```

Expand Down

0 comments on commit 55e2ea8

Please sign in to comment.