Add a workflow that compiles every example - #10
Merged
Conversation
Compile all sketches under examples/ for ESP32-S3 with the latest arduino-esp32, once against the libraries from the Library Manager and once against the development branches of M5Unified / M5GFX, so that an interface change in those libraries is caught before it is released (m5stack/M5Unified#346 was only found after the release).
Contributor
|
Thanks! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a workflow that compiles every sketch under
examples/with arduino-cli, so that a build break like #12 (the library stopped compiling against a new M5Unified release) is caught by CI instead of by users.What it does
ubuntu-latest, arduino-cli 1.1.1, latest arduino-esp32 (3.3.11) from the Espressif board index,esp32:esp32:esp32s3(the StackChan core is an ESP32-S3).fail-fast: false):developbranches, so an interface change in those libraries shows up here before it is released.IRremoteESP8266,M5Unit-NFCand what it pulls in) come from the Library Manager.Runs on push (source /
library.properties/ the workflow itself), on pull requests, and manually.Verification
Run on my fork against the current
main: both jobs green, 10/10 sketches each (about 25 minutes per job, the two run in parallel).