Skip to content
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

create a s390x github action #3044

Open
skoudoro opened this issue Jan 15, 2024 · 3 comments
Open

create a s390x github action #3044

skoudoro opened this issue Jan 15, 2024 · 3 comments

Comments

@skoudoro
Copy link
Member

          I don't know how to bind the below on Github Actions, but maybe this will give you ideas.

To test on big endian, my go to platform is to use qemu-system-s390x coupled to binfmt kernel settings, provided by Debian packages qemu-system-misc and qemu-user-static. Once installed, I can spawn a Debian s390x system root tree with e.g.:

# debootstrap --arch s390x sid /srv/chroot/sid-390x http://ftp.fr.debian.org/debian

Once done, I can chroot straight into the tree and, thanks to binfmt, qemu-system-s390x will "interpret" the s390x executables:

# uname -m
x86_64
# chroot /srv/chroot/sid-390x
# uname -m
s390x

Crude yet effective. Main drawback is, that emulation for s390x is slow: running the test suite took some eight hours to run on my machine, to compare to one quarter of hour on the native cpu.

I'm using actually a configuration a bit more elaborate, but you get the idea.

Originally posted by @emollier in #3043 (comment)

@DanonymousCoder
Copy link

Hi @skoudoro I would love to work on this issue

@skoudoro
Copy link
Member Author

You can go ahead @DanonymousCoder. Thanks !

@viusic
Copy link

viusic commented Feb 12, 2024

Hi @skoudoro, are there any specific requirements and testing needs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants