-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure GitHub CI #177
Configure GitHub CI #177
Conversation
Instead of requiring the user to create a wifi_config.h file, this will use the recommended way to add user-specific configurations from ESP-IDF. At the same time this has the benefit, that the example even compiles when the user did not set the WiFi settings. The settings simply default to empty strings.
Create a separate task, which installs the arduino-esp32 component first. Also set to use the custom partition table in sdkconfig defaults of the weather example. Otherwise the example would not successfully build by default.
This is a very interesting contribution that can help a lot on all future additions. I will catch up as soon as I can hopefully next week. |
Hello @jdoubleu But still this is independent and with a bit of work it will adapt without problem to that changes, since the way to configure the project is still done by menuconfig. About this and the other PR #180 how do you suggest to proceed? Just tell me what things need to be tested and in what order and I will try my best to organize it in the next days. |
As you've mentioned, the CI will simply build all examples. At least it does Nonetheless, I could create a duplicate branch off of this one and rebase it onto #168 to be certain it still works. It is then up to you what to merge first. Unfortunately, the CI does not run for this PR, yet. In my fork it does, so I can test it there. Ignore #180 for now, because there would be some breaking changes in there, that need to be addressed first. |
They should be re-enabled with vroland#180.
I've removed the runs on the As you can see at https://github.com/jdoubleu/epdiy/actions/runs/2299846098, everything builds successfully. I suggest to merge this PR first, then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
This PR introduces a workflow for the GitHub CI, which will build all example applications. Since all of them require the
epd_driver
component, the driver is implicitly built as well.In order for all examples to build successfully, I needed to update some of them. Most of the time it was just changing a default value in
sdkconfig.defaults
, to e.g. use the custom provided partition table (partitions.csv
).The CI will run on every push to the
master
branch or for every PR which targets themaster
branch.The motivation and benefit behind building all examples in the CI is to validate changes made still compile with different versions of ESP-IDF. This begs one important question: Which ESP-IDF version do you want to actively support? The latest stable release (i.e.
v4.4.1
at time of writing)?If the CI is not yet running for this PR, head over to my fork, where I ran it multiple times (during development): https://github.com/jdoubleu/epdiy/actions/runs/2286199069
As you can see, all examples fail to build with the latest version of ESP-IDF, as explaine din #156. If you would merge this PR now, it would fail for every push. I suggest to create a branch off of this one, to fix the incompatibilities first, then merge both into
master
.TODOs
latest
ESP-IDF until get ready for ESP-IDF v5 #180 is resolved.