Skip to content

Add "smoke test" sketch compilation CI workflow for MuxTO firmware #105

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

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Add "smoke test" sketch compilation CI workflow for MuxTO firmware #105

merged 1 commit into from
Jun 10, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jun 9, 2021

On every push and pull request that affects relevant files, and periodically, compile the Nano Every's MuxTO firmware sketch.

The binary is saved as a workflow artifact to make it available for beta testers who might prefer flashing it directly
over setting up the toolchain needed to compile it locally.

Due to the standard output from Arduino CLI not providing the correct size data, a bespoke check is done for whether the
compiled binary will fit in the available 12 kB of memory. If not, the workflow run fails.

On creation or commit to a pull request, a report of the resulting change in memory usage of the sketch will be
commented to the PR thread.

Related: #103

On every push and pull request that affects relevant files, and periodically, compile the Nano Every's MuxTO firmware sketch.

The binary is saved as a workflow artifact to make it available for beta testers who might prefer flashing it directly
over setting up the toolchain needed to compile it locally.

Due to the standard output from Arduino CLI not providing the correct size data, a bespoke check is done for whether the
compiled binary will fit in the available 12 kB of memory. If not, the workflow run fails.

On creation or commit to a pull request, a report of the resulting change in memory usage of the sketch will be
commented to the PR thread.
@github-actions
Copy link

github-actions bot commented Jun 9, 2021

Memory usage change @ d39a5ab

Board flash % RAM for global variables %
arduino:samd:muxto:float=default,config=enabled,clock=internal_usb,timer=timer_732Hz,bootloader=4kb,serial=two_uart,usb=cdc 0 - 0 0.0 - 0.0 N/A N/A
Click for full report table
Board firmwares/MuxTO
flash
% firmwares/MuxTO
RAM for global variables
%
arduino:samd:muxto:float=default,config=enabled,clock=internal_usb,timer=timer_732Hz,bootloader=4kb,serial=two_uart,usb=cdc 0 0.0 N/A N/A
Click for full report CSV
Board,firmwares/MuxTO<br>flash,%,firmwares/MuxTO<br>RAM for global variables,%
"arduino:samd:muxto:float=default,config=enabled,clock=internal_usb,timer=timer_732Hz,bootloader=4kb,serial=two_uart,usb=cdc",0,0.0,N/A,N/A

@facchinm facchinm merged commit 5717c2a into arduino:master Jun 10, 2021
@mcuee
Copy link

mcuee commented Aug 17, 2022

Looks like this never runs successfully.
https://github.com/arduino/ArduinoCore-megaavr/actions/workflows/compile-muxto.yml

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.

3 participants