Fix ESP32 compatibility #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ESP8266 | |
| on: [push, pull_request] | |
| env: | |
| ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS: http://arduino.esp8266.com/stable/package_esp8266com_index.json | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Arduino CLI | |
| uses: arduino/setup-arduino-cli@v1.1.1 | |
| - name: Install platform | |
| run: | | |
| arduino-cli core update-index | |
| arduino-cli core install esp8266:esp8266 | |
| # Finally, we compile the sketch, using the FQBN that was set | |
| # in the build matrix. | |
| - name: Compile Sketch | |
| run: arduino-cli compile --fqbn=esp8266:esp8266:d1_mini:xtal=160,vt=flash,ssl=basic,mmu=3216,non32xfer=safe,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 --warnings=none --verbose rules.ino | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: rules.ino.bin | |
| path: C:\\Users\\runneradmin\\AppData\\Local\\Temp\\arduino\\sketch-*/*.ino.bin |