Commit graph

186 commits

Author SHA1 Message Date
Lucas Saavedra Vaz
0b8eedea5c
ci(release): Make workflows dependent on release completion (#10260) 2024-08-31 18:33:32 +03:00
Lucas Saavedra Vaz
4c1095b23f
ci(push): Use fqbn from ci.json (#10267) 2024-08-31 18:28:04 +03:00
Lucas Saavedra Vaz
ef5c6b94b3
fix(release): Fix install test on release (#10256) 2024-08-28 22:21:17 +03:00
Lucas Saavedra Vaz
77d8095472
fix(release): Fix release script to use new archive method (#10255)
* fix(release): Fix release script to use new archive method

* Remove variable
2024-08-28 18:48:27 +03:00
Lucas Saavedra Vaz
cd3d0bf569
fix(tests): Use proper API and check for required token (#10223) 2024-08-22 23:44:49 +03:00
Lucas Saavedra Vaz
c7ac06c83a
ci(branches): Remove wildcard from branch triggers (#10210) 2024-08-21 22:37:12 +03:00
me-no-dev
70786dc5fa feat(core): Add version 3.0.4 to issue template 2024-08-02 14:33:06 +03:00
me-no-dev
1a42b87fb5 fix(release): Install pyserial for release test build 2024-08-02 12:53:00 +03:00
me-no-dev
a4fb227b06 fix(release): Use correct FQBN for release test 2024-08-02 12:36:09 +03:00
me-no-dev
cddaba6c3f fix(release): Fix arduino-cli path 2024-08-02 12:28:45 +03:00
Lucas Saavedra Vaz
9339c00d34
ci(release): Add JSON install test (#10104) 2024-08-02 11:21:52 +03:00
Jan Procházka
3a7eda1ef0
ci(wokwi): Pass diagram.json file if exists to pytest (#9720)
* ci(wokwi): Pass diagram.json file if exists to pytest

* ci(wokwi): Rename diagrams to enable editing in Wokwi editor

* ci(tests): Use newest pytest version

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-07-31 14:16:43 +03:00
Lucas Saavedra Vaz
0f1f947a72
ci(tests): Fix workflow errors (#10067) 2024-07-29 12:49:18 +03:00
Me No Dev
e5ea4da382
add(template): Add version 3.0.3 to the Issue template (#10042)
To be merged after release
2024-07-17 16:04:39 +03:00
Me No Dev
7a82915de2
fix(release): Fix wrong filename for copy 2024-07-17 15:47:53 +03:00
Me No Dev
614c72b4d3
fix(libs): Update all libraries to match the core version (#10041)
From now on core libraries will have the same version as the core
2024-07-16 23:04:43 +03:00
me-no-dev
bd0abb3474 Update core versions to 3.0.3 2024-07-16 21:55:50 +03:00
Lucas Saavedra Vaz
e54fb9e31f
ci(tests): Fix conclusion status and badge pushing (#10013)
* ci(badge): Push only when changes happened to badge

* ci(tests): Fix conclusion status
2024-07-15 15:23:58 +03:00
Me No Dev
676a62c7c2
fix(report): Add 3.0.2 to list of versions 2024-07-11 13:37:23 +03:00
Lucas Saavedra Vaz
1923f82a0f
docs(badge): Generate runtime tests badge (#9979) 2024-07-10 14:17:47 +03:00
Lucas Saavedra Vaz
4a6437d3ea
ci(tests): Fix cache cleaning (#9932) 2024-06-25 16:31:52 +03:00
Lucas Saavedra Vaz
26db8cba32
ci(tests): Avoid the use of pull_request_target where possible (#9899) 2024-06-24 10:23:24 +03:00
Me No Dev
b77b38e40e
fix(version): Update version to 3.0.2 (#9902) 2024-06-19 16:23:29 +03:00
Lucas Saavedra Vaz
96c2c71cb3
ci(tools): Fix tools workflows (#9846)
* ci(tools): Remove ARM64 runner and use get.exe

* ci(tools): Optimize get.py and verify extraction

* change(tools): Push generated binaries to PR

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 09:55:37 +03:00
Jan Procházka
5b7c615a0a
ci(boards): Add cache for libs (#9877) 2024-06-17 22:32:05 +03:00
Lucas Saavedra Vaz
a31a5fca17
fix(ci): Fix issues found in workflows (#9829)
* ci(tests): Swap cache to artifacts to avoid errors between OSes

* ci(push): Fix chunk generation for compilation

* ci(tests): Fix error code propagation

* ci(push): Add shebang to new script

* ci(push): Fix sizes upload if there is no changes

* ci(bot): Fix GitHub actions bot commit info
2024-06-13 07:53:42 +03:00
Lucas Saavedra Vaz
2928654027
change(idf): Rename component example and fix compilation warnings (#9801)
* change(idf): Rename component example

* ci(push): Fix steps conditions

* ci(tests): Remove unnecessary concurrency

* ci(push): Fix step condition

* fix(idf): Fix compilation warnings when as component
2024-06-10 15:30:18 +03:00
Lucas Saavedra Vaz
e3fedc5e8c
ci(refactor): Fix workflows and small improvements (#9793)
* ci(fix): Fix new workflows

* ci(pre-commit): Properly cache python modules

* fix(get.py): Verify files after extraction and make it more readable

* ci(idf): Compile as component when libs change

* ci(wokwi): Re-enable cache for wokwi tests

* ci(tests): Run scripts only from master

* Revert "fix(get.py): Verify files after extraction and make it more readable"

This reverts commit cc40edb40766ea8a013c0d76326bc57314418bff.

* ci(compilation): Fix changed files check

* ci(wokwi): Disable tests that use scenarios
2024-06-07 12:29:27 -03:00
Lucas Saavedra Vaz
f5b8e27df7
ci(refactor): Refactor workflows and skip files (#9696)
* ci(refactor): Refactor workflows and skip files

* ci(refactor): Refactor workflows and skip files

* ci(refactor): Improvements and compilation of only related files

* ci(refactor): Delete duplicated steps

* ci(refactor): General improvements

* ci(refactor): Delete duplicated lines

* ci(refactor): Rename jobs
2024-06-05 15:19:25 +03:00
Me No Dev
ebb77c4611
Update Issue-report.yml with version 3.0.1 2024-06-05 10:54:11 +03:00
Me No Dev
dc5bd3814c
fix(release): Shorten all toolchain names/versions (#9760)
Helps to overcome the limit of windows path, when the usernames are long.
2024-06-04 09:46:50 +03:00
me-no-dev
97c98eb0cb Update core version to 3.0.1 2024-06-03 13:09:02 +03:00
Jan Procházka
f447a92724
ci(sizes): Sites test between master and 2.x branch (#9755)
* ci(sizes):  Sites test between master and 2.x branch

* ci(sizes): Remove if as its manual trigger
2024-06-03 10:19:51 +03:00
Juraj Andrássy
58e61efa44
ci(external_libs): Add EthernetESP32 to ext. libraries compilation test (#9747) 2024-06-03 10:05:08 +03:00
per1234
79b835059f
feat(tools):Use Windows native path separator in ESP_SR model copy command pattern (#9649)
* fix(platform): Use Win path separator in ESP_SR copy command pattern

Although Windows generally supports the use of the POSIX compliant slash path separator in addition
to the Windows native backslash separator, in the specific use case where a path is present in a
native command executed via an argument to `cmd /c` in a platform command pattern, it is mandatory
to use backslash path separators.

Previously, a slash path separator was used in the `tools.esp32-arduino-libs.path` and
`compiler.sdk.path` platform properties, which were referenced in a `copy` command in the `cmd /c`
argument part of the platform's `recipe.hooks.objcopy.postobjcopy.2.pattern.windows` command
pattern. This caused compilation to fail with a "The syntax of the command is incorrect." error
under the following conditions:

- The compilation is performed on a Windows machine
- The compiled sketch uses the ESP_SR library

This is fixed by adding Windows override variants of the properties, with backslash path separators.

* fix(release): Remove windows path to libs when releasing

---------

Co-authored-by: me-no-dev <hristo@espressif.com>
2024-05-29 14:26:51 +03:00
Me No Dev
f772fcadfd
fix(boards): Remove duplicate VID/PID from boards.txt and add default CDC/JTAG board (#9717)
* fix(boards): boards must define unique VID/PID

Also adds a hidden board with the default VID/PID of USB CDC/JTAG in order to always show that in IDE when ESP32 CDC/JTAG device is connected

* fix(boards): Skip test for the generic board

* Trigger board test

* fix(boards): Make discovery work on IDE2
2024-05-29 13:00:07 +03:00
Adrian Immer
d8e1374dc3
ci(external_libs): Add ZACwire to External libraries compilation test (#9705)
* Add ZACwire to External libraries compilation test

* fix example path

* fix(lib): fixed link to right examples

The previously linked example wasn't working, so I linked two other examples, which are more up to date
2024-05-28 22:33:21 +03:00
Jan Procházka
3267469015
fix(ci): Compare correct name of the artifact (#9708) 2024-05-28 16:39:34 +03:00
Lucas Saavedra Vaz
d45f35a2c8
ci(wokwi): Self host Wokwi CLI server (#9701)
* ci(wokwi): Self host Wokwi CLI server

* ci(event_file): Fix file upload

* change(tests): Re-run once on test failure
2024-05-27 21:35:57 +03:00
Me No Dev
3925d51839
fix(release): install missing 'packaging' package (#9698)
* fix(release): install missing 'packaging' package

Necessary to combine the json files

* Update .github/workflows/release.yml

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-05-27 19:28:00 +03:00
Me No Dev
2b0404bf1c
feat(reports): Update Issue-report.yml with new versions (#9699)
Adding missing versions from Issue Report form
2024-05-27 19:07:06 +03:00
Me No Dev
b3ad98cbf6
fix(release): Update merge_package.py (#9694)
Use packaging.version instead of the deprecated distutils.version
2024-05-27 17:13:59 +03:00
Lucas Saavedra Vaz
5de054b47a
ci(wokwi): Fix concurrency (#9625) 2024-05-14 12:50:18 +02:00
Lucas Saavedra Vaz
e10de73e61
ci(qemu): Add QEMU emulator to CI (#9558)
* ci(qemu): Add QEMU emulator to CI

* ci(qemu): Fix windows build

* ci(qemu): Fix skips

* ci(qemu): Skip performance tests

* ci(qemu): Disable QEMU tests for now

* fix(platform): Fix build script recipe number
2024-05-13 23:09:10 +02:00
Jan Procházka
84376a765a
ci(hil): Touch skip file whe platform is skipped (#9605) 2024-05-09 13:52:50 -03:00
Lucas Saavedra Vaz
789b1a8425
ci(wokwi): Add Wokwi emulator to workflow (#9540)
* ci(wokwi): Add wokwi emulator to CI

* feat(wokwi): Support scenario

* feat(wokwi): Add simple CI test for push button

* sudo apt command

* sudo both apt commands

* Add missing test.py file

* Test pytest path changes

* empty push

* move wokwi cli token variable

* move token back to wokwi job

* Update hil.yml

* Update hil.yml

* revert run on pr

* run on PR target

* run only on master

* ci(wokwi): Support wokwi

* ci(wokwi): Skip unsupported and performance test

* ci(wokwi): run wokwi tests without label

* debug: run build on windows

* RUN WIFI WITH PSRAM ON-OFF

* fix psram for S3

* Revert "debug: run build on windows"

This reverts commit bc085e50502eb470836276097fa45ee0e2374ed1.

* ci(wokwi): Run workflow only if build was sucessful

* ci(pre-commit): Apply automatic fixes

* ci(wokwi): Add generated files to gitignore

---------

Co-authored-by: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-05-07 18:46:19 +03:00
Jan Procházka
b59a3687c2
feat(ci): Run Wokwi tests on PR (#9597)
* feat(ci): Run Wokwi tests on PR

* fix(ci): Concurrency change to wokwi

* ci(wokwi): Fix skipped tests
2024-05-07 14:36:36 +02:00
Lucas Saavedra Vaz
1299582047
ci(performance): Add performance tests to CI (#9560)
* ci(performance): Add performance tests to CI

* ci(req): Fix requirements

* ci(pre-commit): Apply automatic fixes

* ci(pre-commit): Increase maximum allowed complexity for python

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-05-07 13:16:13 +02:00
Lucas Saavedra Vaz
86b3163c62
ci(install): Change "arch" to distro-agnostic "uname -m" (#9537) 2024-04-19 21:34:47 +03:00
Me No Dev
ae0dc17339
fix(release): Temporary halt JSON uploads on release, until generator is fixed (#9536)
* fix(release): Temporary halt JSON uploads on release, until generator is fixed

* fix(script): enable JSON upload to release page
2024-04-19 19:52:01 +03:00