Closed nicklasfrahm closed 2 years ago
Hi @nicklasfrahm Will the solution proposed in https://github.com/espressif/esp-idf-ci-action/pull/15 work for you?
If we merge !15 then you can run it like cd $IDF_PATH && patch .. && cd /app && idf.py build
Or, in your particular case, you can temporarily add the patched version of the esp_http_client
to your project's components
directory.
Hey @kumekay, thanks for implementing this. This does resolve my issue. I will close this.
Proposal
Add a
pre-build
hook, which allows it to run a script inside the container before the build.Use-case
My use-case is that I submitted a fix to the ESP IDF, but that I need to wait for the fix to be merged. Until then I am basically blocked from using this CI action.
My patchfile looks as shown below and could be applied at the root of the
esp-idf
viapatch -s -p0 < idfgh-6944.patch
. I can however not figure out how to apply a patch to theesp-idf
inside the container before running the compilation.