chore: Fully restored drinks sync and codebase cleanup #10
Workflow file for this run
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: Firmware CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| paths: | |
| - 'server/firmware/**' | |
| pull_request: | |
| branches: [ main, master ] | |
| paths: | |
| - 'server/firmware/**' | |
| jobs: | |
| compile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Arduino CLI | |
| uses: arduino/setup-arduino-cli@v2 | |
| - name: Install ESP8266 Core | |
| run: | | |
| arduino-cli core update-index | |
| arduino-cli core install esp8266:esp8266 --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json | |
| - name: Install Libraries from Registry | |
| run: | | |
| arduino-cli lib install "ArduinoJson" | |
| arduino-cli lib install "Adafruit GFX Library" | |
| arduino-cli lib install "Adafruit SSD1306" | |
| arduino-cli lib install "Adafruit BusIO" | |
| arduino-cli lib install "RTClib" | |
| - name: Install Extra Libraries (Using Checkout for reliability) | |
| run: mkdir -p $HOME/Arduino/libraries | |
| - name: Checkout BfButton | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: m-reilly/BfButton | |
| path: BfButton | |
| - name: Checkout ESPAsyncTCP | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: me-no-dev/ESPAsyncTCP | |
| path: ESPAsyncTCP | |
| - name: Checkout ESPAsyncWebServer | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: me-no-dev/ESPAsyncWebServer | |
| path: ESPAsyncWebServer | |
| - name: Setup Libraries | |
| run: | | |
| mv BfButton $HOME/Arduino/libraries/ | |
| mv ESPAsyncTCP $HOME/Arduino/libraries/ | |
| mv ESPAsyncWebServer $HOME/Arduino/libraries/ | |
| - name: Compile Sketch | |
| run: | | |
| arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2 ./server/firmware/serverEspReact/serverEspReact.ino |