-
Notifications
You must be signed in to change notification settings - Fork 4
Add CI workflow #13
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 CI workflow #13
Conversation
run: | | ||
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino" | ||
- name: Compile examples | ||
uses: arduino/actions/libraries/compile-examples@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: arduino/actions/libraries/compile-examples@master | |
uses: arduino/compile-sketches@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :) done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very exciting to see the action working with the first .inot sketches!
I made a couple minor suggestions for the workflow, but it looks great as-is.
Co-authored-by: per1234 <[email protected]>
Co-authored-by: per1234 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The beta phase arduino-beta:mbed
boards platform of the Portenta H7 has been deprecated, which will cause platform installation during the compilation check CI to fail if the old name is used.
Reference: arduino/ArduinoCore-mbed#72
Co-authored-by: per1234 <[email protected]>
Co-authored-by: per1234 <[email protected]>
Add
compile-examples
andreport-size-deltas
workflows for CI.The
compile-examples
workflow downloads the modified cli version from https://downloads.arduino.cc/arduino-cli/arduino-cli_arduino_threads_Linux_64bit.tar.gz by settingcli-version: 'arduino_threads'
.All the examples provided by this library are compiled for boards
Minor fixes have been applied to few sketches in order to make them compile with the latest version of ArduinoThreads library.