-
Notifications
You must be signed in to change notification settings - Fork 3
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
Tauri build does not produce MSI nor NSIS if in targets. #13
Comments
Hi, Sorry for not seeing your message sooner. Unless I'm missing something, how do you expect to generate a Windows build under a Linux image? |
Not sure, but cross-compilation is a real thing. We compile for android on Windows. If it is not possible it should state explicitly instead of having tauri not produce the output. It took me a while to discover that the issue is in fact that cross-compilation is not supported here. |
It depends on what you're talking about. If you're just talking about building an MSI or a NSIS, it's pretty straightforward: https://github.com/ivangabriele/clamav-desktop/blob/main/.github/workflows/build.yml#L56. There is no need for this complex Docker image which only exists for E2E OS tests. Maybe I will specify this point in the README. If you're talking about e2e-testing a Tauri app in Windows, the process is completely different from Linux e2e-testing. It may be something I'll try to achieve at some point either through official Microsoft Docker images or dockur/windows ones. But I know it won't be easy. |
We use GitLab CI/CD and were unable to create working build configuration based on windows docker image. Your image is at least a currently working solution for us (except for building for windows). Eventually we will give it another try. |
Hello,
running
tauri build
with msi or nsis as targets will not produce these two bundles.The text was updated successfully, but these errors were encountered: