* Update upload-artifact action to v3
* Fix deprecated set-output
* updated path + error if no files found
* update path
* update path + debug ls
* dbg path print
* dbg path remove +added echo with buildpath
* change build_dir
* fix upload-artifact paths
* changed build_dirs
* move sketchname variable
* Update touch pressed value
* Run one test only for faster debuging
* Revert "Run one test only for faster debuging"
This reverts commit e2bf6a8551e5b4abe5bb6201d3175257bc40fe44.
* fix value
* Fix gen_insights_package.py missing on release
Fixes: https://github.com/espressif/arduino-esp32/issues/7649
* fixes gen_insights_package.exe for Win10 and Win11
* Add insights example to be compiled by CI
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
This PR brings updates according to the latest changes in the Arduino core:
- Bootloader binaries are now generated from elf files
- Updated CI scripts
- Updated esptoolpy to v4.2.1
- Minor clean-up by removing obsolete code
Resolves#7572
* Compile error if CONFIG_FREERTOS_HZ != 1000
* add a check at the CMake level, per feedback
* Set CONFIG_FREERTOS_HZ=1000 in CI test of Arduino-as-component
* Update esptool to version 4.2.1
* Fix esptool for MacOS
* Esptool v4.2.1 for CI Platformio (#7147)
to complete the test.
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
* .github/scripts: Add multiple parameters to the build and test scripts in case a customization is required.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Get options from a JSON file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests: Add a simple test for the JSON configurations option.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests: Accept multiple FQBNs in the config file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests/: Run multiple tests if the build contained multiple
configurations.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* ./github/scripts: Add option to erase the flash before flashing.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* .github: Fix building chunks and parameters passed from on-push.sh
script.
Multiple arguments and options were not set correctly.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Pass the Windows parameters with the extra options.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Remove the individual flash options and replace them
with only one option take is supposed to take any extra FQBN addition.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* workflows/hil.yml: Install the jq program on the docker image.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests_run.sh: Fix the erase flash arguments.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* hil.yml: Fix the chunk matrix generation.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests_build.sh: Add a clean option. Useful locally for a quick clean
up.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
Workflow is scheduled.
It looks like the depedency on the Test job was not enough and the Event
job was triggering even without the label.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
upload-idf-component.yml action was only running for tags like v*, while in this project tags like 2.0.3 are used. With this change, the workflow will run for all tags.
Description of Change
Remove a leftover parenthesis that was making the workflow that was making the workflow invalid.
Tests scenarios
Github Workflow.
Related links
https://github.com/espressif/arduino-esp32/actions/runs/2213167501
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This PR adds support for uploading additional flash images (e.g. Adafruit Tiny UF2 bootloader) specified in board manifests.
Additionally, the PR switches the PlatformIO CI script to the upstream version of the ESP32 dev-platform (basically reverts changes introduced in #5387 as they are no longer required).
* workflows/publish.yml: Run the workflow on success and failure only.
This prevents trying to run when the trigger was cancelled or skipped.
In these cases there will be no event file to upload.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* scripts/sketch_utils.sh: Move the logic that gets the build dir after
the part that retrieves the arguments.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* workflows/hil.yml: Update the HIL runners tags.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* workflows/hil.yml: Remove the Check Artifacts step. That was only
useful for debugging.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* Update toolchain to gcc8_4_0-esp-2021r2-patch3
* Update esptool to 3.3
* Remove old files
* Update package_esp32_index.template.json
* use esptool v3.3 (#6498)
could be used for all. Nice would be releasing in Platformio registry.
* Switch toolchain for PIO CI
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
1. Don't run the publish test result workflow on the master
branch.
2. Run only on Pull Requests to be able to publish the result as a PR comment.
3. Avoid running when the triggering workflow was skipped, this will
cause a failure as no file will be uploaded.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
The reason behind this refactoring is that all of the sketch related functions can (and will) be used for other purposes.
Build in the sketch directory: This will make it easy to handle artifacts after the build.
Separate sketch related functions from IDE installation script. This is the main commit.
Create a separate job for the Cmake check. This check was part of one of the Linux build. I believe that it's not the best place for such a check.
Checking for the skip landmarks and validity of the the sketch directory were already done by count_sketches.