Wrapping chrono for arduino compatibility #4
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: Arduino CLI Build | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Arduino CLI | |
| uses: arduino/setup-arduino-cli@v1 | |
| - name: Update cores and install esp32 core | |
| run: | | |
| arduino-cli core update-index | |
| arduino-cli core install esp32:esp32 || true | |
| - name: Compile Arduino example | |
| working-directory: test/ci/arduino_example | |
| run: | | |
| arduino-cli compile --fqbn esp32:esp32:esp32 . --libraries ../../.. |