mirror of
https://github.com/dgibson/dtc.git
synced 2026-07-10 13:29:48 -04:00
The codebase already has macOS support (dylib flags in the Makefile, macOS linker handling in meson.build), but CI only tests Linux, Windows, and FreeBSD. This means macOS regressions go unnoticed until a user reports them. Add a build-macos job that tests both Make and Meson builds on macos-latest. The runner ships with clang, flex, bison, python3, and git; only libyaml, swig, meson, ninja, and pkg-config are installed via Homebrew. Apple Clang uses -Wsign-compare by default, which trips on some lex generated code. Suppress the warning for the two flex-generated objects. We skip tests for now, because trees.S doesn't work with the MacOS assembler. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: David Gibson <david@gibson.dropbear.id.au> |
||
|---|---|---|
| .. | ||
| build.yml | ||