lancaster-university / microbit-v2-samples

CODAL build tools and sample programs for the micro:bit v2.x
MIT License
68 stars 88 forks source link

Create `microbit-v2-samples` tag for next `codal-microbit-v2` release #67

Closed microbit-carlos closed 1 year ago

microbit-carlos commented 1 year ago

https://github.com/lancaster-university/microbit-v2-samples/compare/v0.2.12...master

There is a few changes in the main branch that would be good to ensure are correctly adopted by the upstream projects for the microbit 2023 release, so it'd be good to create a tag here as well for the next codal-microbit-v2 release.

microbit-carlos commented 1 year ago

This might be currently blocked on this:

JohnVidler commented 1 year ago

From #70, replicated here for tracking:


Patched out the F-strings as of f4aaca3a9ff55dfd79c9ec41024dbbc0bec4de04 on master.

Added in a couple of new args for --status while I was at it, including -v compliance for increased verbosity, and -n to control the number of log lines. Specifying a lib name on a --status call now also only shows that library on its own.

Example run: ./build.py -svn 12 codal-core - aka, run versbose, with 12 log liens for only the codal-core lib.

All flag combinations are handled correctly.

Note: The current default parallelism is 10 which should be fine for most systems, but is possibly suboptimal for 'big' build systems (like Makecode's backend, perhaps?) which may want to bump this up via -j [number] or --parallelism [number] for better build performance.

microbit-carlos commented 1 year ago

Reopening as we don't have a tag in https://github.com/lancaster-university/microbit-v2-samples/tags yet:

image
JohnVidler commented 1 year ago

Whup, sorry my mistake in closing the issue I misread this one - yes, needs a new tag but holding off for the second while we add some audio tests into the samples repo

microbit-carlos commented 1 year ago

Tag https://github.com/lancaster-university/microbit-v2-samples/releases/tag/v0.2.13 is out 👍