uno
uno copied to clipboard
Add build/publish/deploy examples
There is no information about this on this repo and basically nothing even on the website's docs. So adding a few scripts to at least build binaries for all platforms at once would be cool? Or does that require running from different platforms?
Publishing certainly requires credentials and maybe even additional software I guess. But some templates with mock data would also be helpful.
Thanks for the report! We're generally relying on "standard" deployment documentation from Microsoft, as a Uno is based on standard deployment techniques. Still, we're not explicitly referencing those and that can be misleading.
Which target did you want to know about ?
All of the targets. Windows, Web/WebAssembly, iOS, macOS, Android, and Linux. Is it possible to build from a single platform, like Windows, to all the other platforms/targets? Are there any scripts to do this somewhere?
Thanks. There are specifics to each platforms, like for instance building for iOS/macOS/Catalyst requires a Mac. Windows, Android and Wpf/Gtk can be built from Windows. The Gtk head can run on Windows, Linux and macOS.
We do not provide scripts for this, but most of the targets can build using dotnet build. You can view some build scripts from this blog post.
Great thanks! Do you maybe also know about github actions for uno?
We do not have such samples at this time, though most of the tasks from azure devops are straightforward to port to Github Actions.
You'll find an example of deployment script on github for WebAssembly here.