Skip to content

Install Qemu on GH actions hosts #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

HugoSilvaSantos
Copy link
Contributor

@HugoSilvaSantos HugoSilvaSantos commented Apr 16, 2025

  • The missing package is causing an error when running build.sh
  • Ensure the workflow only runs on the arm-toolchain repository

- The missing package is causing an error when running build.sh
@@ -14,7 +14,8 @@ sudo apt-get update && sudo apt-get install -y --no-install-recommends \
ninja-build=1.10.1-1 \
clang=1:14.0-55~exp2 \
python3-pip \
python3-setuptools
python3-setuptools \
qemu-system-x86=1:6.2+dfsg-2ubuntu6.26
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe qemu-system-x86 will not include the arm and aarch64 emulation we need to run our tests. The package needed is probably qemu instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The latest commit adds support to:

  • qemu-system-x86_64 --version
  • qemu-system-arm --version
  • qemu-system-aarch64 --version

Copy link
Contributor

Choose a reason for hiding this comment

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

qemu-system-x86_64 is not needed: installing the qemu-system-arm package should be sufficient.

Copy link
Contributor

@pratlucas pratlucas left a comment

Choose a reason for hiding this comment

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

LGTM.

@HugoSilvaSantos HugoSilvaSantos merged commit 75181b6 into arm:arm-software Apr 16, 2025
@HugoSilvaSantos HugoSilvaSantos deleted the gh-actions-install-qemu branch April 16, 2025 15:52
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.

3 participants