Commit graph

71 commits

Author SHA1 Message Date
Me No Dev
c4f416638f
Merge branch 'master' into esp32-s3-support 2022-03-18 18:31:22 +02:00
Abdelatif Guettouche
9b9744f25f
publish.yml: Limit the running scope of the publish Workflow. (#6428)
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>
2022-03-14 12:30:33 +02:00
me-no-dev
f2d081fbe7 Add helper script for updating the core version 2022-03-10 20:17:55 +02:00
me-no-dev
693459563a Send event also if tests fail 2022-03-10 18:17:48 +02:00
me-no-dev
bedaad4a81 Update tests_build.sh 2022-03-10 17:50:12 +02:00
me-no-dev
e0aad0f2f5 Adjust build dir for tests and sketches 2022-03-10 17:43:21 +02:00
me-no-dev
86eb776a63 Enable hardware test on ESP32-S3 2022-03-10 17:23:30 +02:00
Me No Dev
f61b0eb2dd
Merge branch 'master' into esp32-s3-support 2022-03-10 16:33:53 +02:00
Abdelatif Guettouche
52e018198b
publish.yml: Remove the debug job and fix an error in the workflow. (#6408)
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-03-10 15:41:02 +02:00
Abdelatif Guettouche
96f8f5e3ef
Add initial hardware testing support (#6313)
- Added workflow triggered by cron or label "hil_test"
- Added examples with both pytest and unity
2022-03-10 14:45:26 +02:00
Me No Dev
b4a0c48501
Merge branch 'master' into esp32-s3-support 2022-02-24 01:20:11 +02:00
me-no-dev
04c2d8f095 Fox SPI example and add proper esptool for PIO CI 2022-02-24 00:45:36 +02:00
me-no-dev
962c30c92d skip one more sketch and try again PIO 2022-02-24 00:30:24 +02:00
Abdelatif Guettouche
f319804521 .github/workflows: Remove the slefhost runner test.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-02-23 23:23:34 +01:00
me-no-dev
3a9e981db1 Disable some examples for ESP32-S3 2022-02-23 23:56:27 +02:00
me-no-dev
fef7fb39fe Add guard to USB examples 2022-02-23 23:45:04 +02:00
me-no-dev
521b2bddb7 script fixes 2022-02-23 23:18:06 +02:00
me-no-dev
4d1c417676 Update CI scripts 2022-02-23 22:56:56 +02:00
Tomáš Pilný
747b6d0f59
[FEATURE] Basic implementation of Arduino's I2S library (#5304)
Basic version of Arduino's I2S library. We currently support only 16bps + 16000 Hz sampling frequency. Other bitrates and sample rates will print warning and continue to operate, however the resulting audio quality may be poor.
There will be further effort to fix these issues.
2022-02-04 13:25:53 +02:00
Dmitry Bondarenko
1046f59f6b
Upload to the component registry (#6203)
Co-authored-by: Sergei Silnov <sergei.silnov@espressif.com>
2022-02-03 20:09:18 +02:00
Abdelatif Guettouche
7a6dae02aa
Refactor the CI scripts (#6191)
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.
2022-01-31 13:15:10 +02:00
Jason2866
9555ed4b76
Use 8.4.0+2021r2-patch2 toolchains for CI (#6184)
with platformio
2022-01-31 13:02:34 +02:00
Abdelatif Guettouche
a61609376a
.github/scripts: Fix indentation and trailing spaces. (#6157)
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-01-20 13:15:12 +02:00
Abdelatif Guettouche
77756d8a06
ci: Miscellaneous improvements (#6132)
Cache downloaded tools.
Cancel duplicate jobs.
Use current repo when linking the core, this allows users to test their code when creating PRs against their forks (for instance an error in an example sketch will build successfully in a fork workflow.)
Cache Arduino IDE.
Add workflow_dispatch to be able to trigger the workflow manually.
2022-01-17 23:29:28 +02:00
Vojtěch Bartoška
48a722aae8
Versions and feature Request Template updates (#6096)
* Update of versions and Feature request template

* Update of versions and Feature request template

* Formatting
2022-01-17 16:17:18 +02:00
Vojtěch Bartoška
2463f57246
Adding Issue and Feature template (#5999)
Summary

This PR contains adding:

Issue template using forms
Feature Template using forms
Update of Pull Request template
All yaml files have been checked by online validator.

Pages are rendered here (for easier review):
Feature Request template
Issue Template

Impact

These templates can help with more accurate issue/PR explanations which can improve handling these contribution and in overall have a positive influence on User experience.

Related links

This PR closed issue #5956
2021-12-14 16:05:36 +02:00
Abdelatif Guettouche
3750b14d74
Prevent self hosted jobs to run on forks. (#5983)
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-12-14 14:26:59 +02:00
Abdelatif Guettouche
d0e73bd269
.github/workflows: Update checkout and setup-python actions to their V2 (#5985)
(latest) version.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-12-14 14:25:11 +02:00
Abdelatif Guettouche
26dddc5f94
Fix the execute bit of some files. (#5986)
- Remove the execute bit from source and text files.
- on-pages.sh script needs the execute bit to be set.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-12-14 14:24:44 +02:00
Abdelatif Guettouche
c87ede88df
Delete .travis.yml file. (#5987)
All the workflows are now migrated to Github Actions.
Update the on-push.sh script to remove references to TravisCI variables.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-12-14 14:24:01 +02:00
Ivan Grokhotkov
c7080b0a83 ci: run CMake in script mode when finding source files 2021-11-09 10:31:11 +02:00
VojtechBartoska
0f174aae88 Update stale.yml 2021-09-30 17:12:45 +02:00
Tomas Sebestik
6dfaf6cdd4
Add dummy test for self hosted GitHub runners (#5521)
* Add dummy test for self hosted GitHub runners
2021-09-15 15:02:04 +03:00
Me No Dev
1775dd1faa
Add ReadTheDocs CI (#5456) 2021-07-26 16:04:20 +03:00
Vojtěch Bartoška
e0e5c88658
Create PULL_REQUEST_TEMPLATE.md (#5439)
Adding first version of PULL_REQUEST_TEMPLATE.md.

The purpose of this template is to improve and simplify writing more accurate Release Notes.
2021-07-26 15:37:14 +03:00
me-no-dev
6393dbc91b Fix gh-pages update script 2021-07-19 18:56:00 +03:00
Me No Dev
16f4b0f5ba
IDF master d93887f9f (#5336)
* Update toolchain

* Update package_esp32_index.template.json

* add optional component dependencies after Kconfig options are known (#5404)

Until this commit, Kconfig options (e.g. CONFIG_TINYUSB_ENABLED) were
used in conditions preceding idf_component_register to determine which
components need to be added to `arduino` component requirements.
However the Kconfig options aren't known at the early expansion stage,
when the component CMakeLists.txt files are expanded the first time
and requirements are evaluated. So all the conditions evaluated as if
the options were not set.
This commit changes the logic to only add these components as
dependencies when the Kconfig options are known. Dependencies become
"weak", which means that if one of the components isn't included into
the build for some reason, it is not added as a dependency.
This may happen, for example, if the component is not present in the
`components` directory or is excluded by setting `COMPONENTS` variable
in the project CMakeLists.txt file.
This also ensures that if the component is not present, it will not be
added as a dependency, and this will allow the build to proceed.

Follow-up to https://github.com/espressif/arduino-esp32/pull/5391.
Closes https://github.com/espressif/arduino-esp32/issues/5319.

* IDF master d93887f9f

* PlatformIO updates for CI (#5387)

* Update PlatformIO CI build script

- Switch to the latest toolchains 8.4.0 for ESP32, ESP32S2, ESP32C3
- Use PlatformIO from master branch for better robustness

* Update package.json for PlatformIO

Co-authored-by: Ivan Grokhotkov <ivan@espressif.com>
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
2021-07-17 01:57:49 +03:00
Vojtěch Bartoška
c7bdb234bf
Update stale.yml (#5299)
Stale bot labels fix.
2021-06-17 20:01:29 +03:00
Me No Dev
a618fc1361
IDF master c13afea63 (#5214)
esp-dsp: master 7cc5073
esp-face: master 420fc7e
esp-rainmaker: f1b82c7
esp32-camera: master 6f8489e
esp_littlefs: master b58f00c
2021-05-31 16:32:51 +03:00
Me No Dev
404a31f445
Initial Esp32c3 Support (#5060) 2021-04-14 18:10:05 +03:00
Me No Dev
5502879a5b
v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996)
This is very much still work in progress and much more will change before the final 2.0.0

Some APIs have changed. New libraries have been added. LittleFS included.

Co-authored-by: Seon Rozenblum <seonr@3sprockets.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: geeksville <kevinh@geeksville.com>
Co-authored-by: Mike Dunston <m_dunston@comcast.net>
Co-authored-by: Unexpected Maker <seon@unexpectedmaker.com>
Co-authored-by: Seon Rozenblum <seonr@3sprockets.com>
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
Co-authored-by: tobozo <tobozo@users.noreply.github.com>
Co-authored-by: bobobo1618 <bobobo1618@users.noreply.github.com>
Co-authored-by: lorol <lorolouis@gmail.com>
Co-authored-by: geeksville <kevinh@geeksville.com>
Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net>
Co-authored-by: Sweety <switi.mhaiske@espressif.com>
Co-authored-by: Loick MAHIEUX <loick111@gmail.com>
Co-authored-by: Larry Bernstone <lbernstone@gmail.com>
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
Co-authored-by: 快乐的我531 <2302004040@qq.com>
Co-authored-by: chegewara <imperiaonline4@gmail.com>
Co-authored-by: Clemens Kirchgatterer <clemens@1541.org>
Co-authored-by: Aron Rubin <aronrubin@gmail.com>
Co-authored-by: Pete Lewis <601236+lewispg228@users.noreply.github.com>
2021-04-05 14:23:58 +03:00
me-no-dev
33d9f4aa19 Update GitHub Pages Builder
Add some debug and allow building from a branch named `pages`
2021-03-16 02:48:17 +02:00
Vojtěch Bartoška
d7fda910fb
Update stale.yml (#4902)
Labels names updated. Not sure if the spaces in label's names are going to work.
2021-03-06 14:15:46 +02:00
Me No Dev
f4b17b3033
Allow releases from different branches 2021-02-17 14:06:30 +02:00
Me No Dev
d2530850a3
Copy platformio-build.py in the release package 2021-01-14 11:17:21 +02:00
Me No Dev
08f4665775
Change fetch depth for release so that history can be fetched 2021-01-12 15:09:28 +02:00
Me No Dev
be4d3b6cb8
Try to fix issue with GIT 2.29.0 2020-11-03 22:22:35 +02:00
Me No Dev
60606e5ad0
Update on-release.sh 2020-11-03 21:53:22 +02:00
Me No Dev
6e5be78838
Update install-arduino-ide.sh 2020-11-03 21:12:05 +02:00
Valerii Koval
37a7fb3d6a
Update PlatformIO CI script (#4307) 2020-08-31 18:06:34 +03:00