Skip to content

ci: install libslirp for ESP QEMU - #2215

Merged
cpunion merged 1 commit into
xgo-dev:mainfrom
cpunion:codex/ci-esp-qemu-libslirp
Jul 30, 2026
Merged

ci: install libslirp for ESP QEMU#2215
cpunion merged 1 commit into
xgo-dev:mainfrom
cpunion:codex/ci-esp-qemu-libslirp

Conversation

@cpunion

@cpunion cpunion commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

The prebuilt ESP QEMU binaries dynamically link libslirp.so.0, but Ubuntu runners do not provide it by default. Install the libslirp0 runtime package alongside SDL in the existing embedded-dependency setup action.

The missing dependency fails before the build starts:

qemu-system-riscv32: error while loading shared libraries: libslirp.so.0: cannot open shared object file: No such file or directory

Validation

  • in an amd64 Ubuntu 24.04 container, the setup downloads both ESP QEMU toolchains, ldd reports no missing libraries, and both binaries run --version
  • the previous CI run passed the Ubuntu LLGo lanes with libslirp0 installed

Scope

This PR changes only the Ubuntu package installation. It does not change workflow timeouts, sharding, or job scheduling.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary

Small, correct CI change: adds libslirp0 to the Linux embedded-deps install so the downloaded ESP QEMU binaries can dynamically load SLIRP for user-mode networking. Security, performance, and documentation passes found nothing to flag. One parity observation left inline.

No blocking issues.

Comment thread .github/actions/setup-embed-deps/action.yml
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cpunion cpunion changed the title ci: install libslirp for ESP QEMU ci: fix ESP QEMU setup and macOS test timeout Jul 29, 2026
@cpunion
cpunion force-pushed the codex/ci-esp-qemu-libslirp branch from 060aea2 to 5b74a83 Compare July 29, 2026 22:42
@cpunion cpunion changed the title ci: fix ESP QEMU setup and macOS test timeout ci: install libslirp for ESP QEMU Jul 29, 2026
@cpunion
cpunion merged commit c54aef7 into xgo-dev:main Jul 30, 2026
76 of 77 checks passed
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