Skip to content

Commit 5fa423b

Browse files
tbitcsoz-agent
andcommitted
fix(ci): install gcc-multilib for native_sim 32-bit host build
native_sim/native uses 32-bit host compilation by default; ubuntu-latest needs gcc-multilib/g++-multilib for glibc bits headers. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 04fb09d commit 5fa423b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ jobs:
115115
cp -rp app modules/lib/arbiter
116116
fi
117117
118+
# native_sim/native targets 32-bit by default; gcc-multilib provides
119+
# the 32-bit glibc headers (bits/libc-header-start.h) on ubuntu-latest.
120+
- name: Install native_sim build dependencies
121+
run: sudo apt-get install -y --no-install-recommends gcc-multilib g++-multilib
122+
118123
- name: Install Zephyr Python requirements
119124
run: pip install -r zephyr/scripts/requirements.txt
120125

0 commit comments

Comments
 (0)