-
Notifications
You must be signed in to change notification settings - Fork 48
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
ci: add arm64 build #94
Conversation
@Swatinem and @compnerd: I've added a Windows ARM64 build here so that we can at least make sure that a cross-compilation using cmake + msbuild works and we don't break that in future updates. In my tests, the I will clean this up tomorrow, but maybe you can have a look if that breaks in your setup @compnerd? Thx! |
We also need to make sure that is documented somewhere, because this ARM64 build on Windows requires CMake 3.26 because of the |
@supervacuus |
I can test the |
One final thing - this won't work. You will miscompile |
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.
lgtm, but I’m completely at a loss when it comes to CMake.
I might need to communicate my intention with this PR. Also, I got sick and will continue with this next week.
If you do a cross-compilation,
I agree, so I would only use the generator platform for MSBuild. I am not proposing to replace
Can you elaborate?
Passing toolchain parameters by hand is fine if you want to do this in your build. Still, if we introduce this in the Native SDK, I would like to limit the chance of misconfiguration, and the CMake build script should do the right thing (rather than expect it from the user at the command line). I am okay with introducing a toolchain file, though. Btw in your
You'd only need to move your
Providing Windows binaries would make a lot of sense. But I don't want to release them as long as we do not have an ARM64 Windows runner for our tests. |
Sure, what I expect to happen is that you would build |
Please excuse my ignorance, but where is Again, to be clear, the function of the build in the crashpad fork ci is that we have an early warning setup that checks whether the build works correctly across supported platforms before we update sentry-native (either because we update from upstream or due to any local changes we do). Testing - or executing any build artifacts as part of the build - currently only happens in sentry-native. We also don't (re-)use the build artifacts downstream because there are too many combinations (not only of CLI params but also because some downstream SDKs require specific compiler + standard library setups, which would complicate the build here unnecessarily). |
Ah that's me mixing up recent work. Sort about the confusion! |
No description provided.