-
Notifications
You must be signed in to change notification settings - Fork 26
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
packit.yaml: run tests on a different architecture (aarch64) #536
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! (Obviously tests have the last word)
OK, it reproduces the koji failure, so easier to iterate here. |
Yup, time to figure out why it works in podman/cockpit :) So the difference here is that our %build step actually builds while in podman's case it is empty. Files
Podman
|
So naively I tried to just remove the x64 binary, but that breaks package.json
|
So nuking the node_modules and running
So it seems sadly that node_modules are $arch dependent.
The |
Ah, so I read the hint again:
Everything is pretty much summed up here https://esbuild.github.io/getting-started/#simultaneous-platforms |
ed7818f
to
7c45820
Compare
This is now more or less resolved as we package the bundled JS. But @martinpitt should we still test on ARM, it doesn't really hurt us and might find interesting issues with upload? |
@jelly Yes, agreed -- these sometimes find funny bugs, and just the first commit here should work fine now? (at least wrt. the build system) |
👍 re-pushed, this should go green 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wohoo!
No description provided.