Skip to content

dev: add just and m4 - #54

Merged
pfeerick merged 1 commit into
mainfrom
add-just-and-m4
Aug 28, 2026
Merged

pfeerick merged 1 commit into
mainfrom
add-just-and-m4

Conversation

@pfeerick

Copy link
Copy Markdown
Member

Summary

  • Adds m4 to the edgetx-dev image's apt packages — needed to regenerate radio/src/translations/sim_string_list.h from string_list.h, and not part of Ubuntu's base or build-essential.
  • Installs just (pinned via JUST_VERSION, same version currently pinned in edgetx's CI) — edgetx's Justfile drives its codegen recipes (fonts, cfn sort, YAML parsers, radio list, and a new sim string list generator), and today its CI reinstalls just from scratch on every run.

Once this lands in :latest, edgetx's codegen_drift.yml/action.yml can drop the per-run just install and version pin, and its devcontainer won't need a postCreateCommand addition either.

Test plan

  • CI build of the dev image succeeds
  • docker run --rm ghcr.io/edgetx/edgetx-dev:<branch-tag> bash -c 'just --version && m4 --version'

edgetx's Justfile drives its codegen recipes (fonts, cfn sort, YAML
parsers, radio list, and the new sim_string_list.h generator), and CI
there installs just itself on every run. Bake both into the dev image
so local dev containers have them out of the box and edgetx's
codegen_drift workflow can drop its per-run just install/pin.

m4 is needed to regenerate radio/src/translations/sim_string_list.h
from string_list.h and isn't part of Ubuntu's base or build-essential.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
pfeerick added a commit to EdgeTX/edgetx that referenced this pull request Aug 28, 2026
The edgetx-dev image now ships just and m4 (EdgeTX/build-edgetx#54),
so the per-job install/pin in the codegen drift action is redundant
for anything running inside that image. The `changes` job keeps its
own install since it runs on a bare ubuntu-latest runner, not the
container.

Depends on EdgeTX/build-edgetx#54 reaching ghcr.io/edgetx/edgetx-dev:latest
before merging, or these jobs will fail with `just: command not found`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pfeerick
pfeerick merged commit 3c30031 into main Aug 28, 2026
4 checks passed
@pfeerick
pfeerick deleted the add-just-and-m4 branch August 28, 2026 09:01
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