File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 7676 python3 \
7777 gcc-arm-none-eabi \
7878 binutils-arm-none-eabi \
79+ libnewlib-dev \
80+ libnewlib-arm-none-eabi \
7981 clang \
8082 llvm \
8183 lld
@@ -155,7 +157,18 @@ jobs:
155157
156158 # On Ubuntu runners the Newlib headers are installed by the gcc-arm-none-eabi package.
157159 # We locate the directory containing stdlib.h via dpkg to avoid hardcoded paths.
158- NEWLIB_STDLIB="$(dpkg -L gcc-arm-none-eabi | grep -E '/include/stdlib\.h$' | head -n 1)"
160+
161+ # NEWLIB_STDLIB="$(dpkg -L gcc-arm-none-eabi | grep -E '/include/stdlib\.h$' | head -n 1)"
162+ # Find Newlib's stdlib.h on Ubuntu runners (package split varies by distro/version).
163+
164+ # Locate stdlib.h provided by Newlib headers (works even if the package name differs).
165+ NEWLIB_STDLIB="$(dpkg -L libnewlib-dev 2>/dev/null | grep -E '/stdlib\.h$' | head -n 1 || true)"
166+
167+ # Fallback: search all installed packages (slower, but very robust in CI).
168+ if [ -z "${NEWLIB_STDLIB}" ]; then
169+ NEWLIB_STDLIB="$(dpkg -L $(dpkg -l | awk '/^ii/{print $2}') 2>/dev/null | grep -E '/newlib/stdlib\.h$' | head -n 1 || true)"
170+ fi
171+
159172 NEWLIB_INC="$(dirname "${NEWLIB_STDLIB}")"
160173
161174 # Fail early with a clear error if paths are missing.
Original file line number Diff line number Diff line change @@ -946,6 +946,14 @@ Used git log command: `git log --oneline v0.72.5..HEAD | grep -v wip >> CHANGELO
946946Used command: ` ./gitLogWithBranches.sh --since 2025-04-01 ` and unimportant lines and infos removed
947947
948948``` txt
949+ * 3fc39014 2025-12-19 Adaptions for clang
950+ * c101f177 2025-12-19 trice build & install steps added
951+ * 9e17252f 2025-12-19 improved detect_arm_include_dir()
952+ * 61e3bd36 2025-12-19 trice lib build scripts hardened for CI
953+ * e9b283bc 2025-12-18 trice lib build ci workflow added
954+ * 6a440bc3 2025-12-18 go test coverage added to testAll.sh
955+ * 42400a4a 2025-12-17 Create SECURITY.md for security policy (#593)
956+ * 96032990 2025-12-17 go coverage stuff added/updated
949957* 96032990 2025-12-17 go coverage stuff added/updated
950958* df9864b3 2025-12-16 `temp/` not as link - is does not exist on the server
951959* 35e5f212 2025-12-16 scan repo added
You canβt perform that action at this time.
0 commit comments