Skip to content
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

Add Github Action Compile Tests #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

latchdevel
Copy link

Hi!.

I add a Github Action to compiles the library with all its examples, which I think is useful, so I would like to share them with other users.

The Github Action compiles all examples in different platforms like Arduino Nano, Arduino Mega2560, ESP8266 Wemos D1 and ESP32 NodeMCU-32S, to at least, be sure that compilation is successful.
https://github.com/latchdevel/SmartRC-CC1101-Driver-Lib/actions/workflows/CompileTests.yml

It is necessary to take into consideration several points:

  • ESPiLight library is only functional for ESP8266 and ESP32 platforms, not work on common Arduinos AVR.
  • ESPiLight library (current v0.17.0) is not compatible with ESP8266 v3.x.x environment, so v2.7.4 is forced to be used.
  • RC-Switch library uses ReceivedInverted() and getReceivedLevelInFirstTiming() functions, that are not available in the main library distribution, being necessary to use "protocollessreceiver" branch from repository https://github.com/Martin-Laclaustra
  • NewRemoteSwitch library must be up to date, at least on commit c3ca4cb (Sep 19, 2021), to work properly.

Hope I can help other users with my little contribution.
Regards!

Run the Arduino CLI to compile example sketches and check if
compiles fine for multiple boards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant