CI: test more platforms on PlatformIO

This commit is contained in:
Benoit Blanchon
2021-05-29 15:24:18 +02:00
parent af3bb131c8
commit 3b10afd2ab
2 changed files with 70 additions and 24 deletions

View File

@ -1,20 +0,0 @@
#!/bin/sh -eux
BOARD=$1
case $BOARD in
uno)
platformio lib install 868 # SD library
platformio lib install 872 # Ethernet library
;;
esp01)
platformio lib uninstall 161 || true
platformio lib uninstall 868 || true
platformio lib uninstall 872 || true
;;
esac
for EXAMPLE in $PWD/examples/*/*.ino;
do
platformio ci $EXAMPLE -l '.' -b $BOARD
done