Skip to content

Fixed action

Fixed action #2

Workflow file for this run

name: Arduino_CI
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
examples:
[
example/GetBatteryVoltage/GetBatteryVoltage.ino,
example/I2CScan/I2CScan.ino,
example/ImageScroll/ImageScroll.ino,
example/MPR121TouchSensor/MPR121TouchSensor.ino,
example/SerialExample/SerialExample.ino,
example/T-Display-S3-MIDI/T-Display-S3-MIDI.ino,
example/TFT_Rainbow/TFT_Rainbow.ino,
example/arduino_gfx_demo/arduino_gfx_demo.ino,
example/factory/factory.ino,
example/lv_demos/lv_demos.ino,
example/nes/nes.ino,
example/ota/ota.ino,
example/sd/sd.ino,
example/tft/tft.ino,
example/touch_test/touch_test.ino,
example/usb_hid_pad/usb_hid_pad.ino,
]
env:
EXAMPLES: ${{matrix.examples}}
steps:
- uses: actions/checkout@v3
- name: Install Arduino Ci
run: |
wget https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz -O arduino-cli.tar.gz ;
sudo tar xf arduino-cli.tar.gz -C /usr/local/bin arduino-cli ;
arduino-cli config init ;
arduino-cli config add board_manager.additional_urls https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json ;
arduino-cli core update-index ;
arduino-cli core install esp32:[email protected] ;
- name: Build examples
run: |
mkdir -p $HOME/Arduino/libraries ;
cp -r lib/* $HOME/Arduino/libraries
cd $HOME/Arduino/libraries ;
git clone https://github.com/moononournation/arduino-nofrendo.git
cd $GITHUB_WORKSPACE ;
arduino-cli compile -besp32:esp32:lilygo_t_display_s3 $PWD/$EXAMPLES ;