简体   繁体   English

如何在 Windows 最新 VM 中为 Xamarin 应用程序设置 Github 操作?

[英]How to set-up Github Actions for Xamarin apps in windows-latest VM?

In the docs provided here - https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications#building-xamarinios-apps在此处提供的文档中 - https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications#building-xamarinios-apps

The Xamain SDK is installed in the VM is done via this command Xamain SDK 通过此命令安装在 VM 中

$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10

and this is run in the macos-latest VM.这是在macos-latest VM 中运行的。

How can I do the same thing in the windows-latest VM for both Android and iOS Xamarin Apps?如何在windows-latest VM 中为 Android 和 iOS Xamarin 应用程序执行相同的操作? If someone tells me how, I'll send a PR to update that doc too.如果有人告诉我怎么做,我也会发送 PR 来更新该文档。

Thanks.谢谢。

You simply can't unless you also connect that build agent to a macOS machine with all the tools necessary.除非您还使用所有必要的工具将该构建代理连接到 macOS 机器,否则您根本做不到。

Instead, I suggest you use the macOS-11 agents and build your iOS Apps using those.相反,我建议您使用 macOS-11 代理并使用它们构建您的 iOS 应用程序。 Just like the documentation you link to suggests.就像您链接到的文档所建议的那样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Github 操作上执行 MSI 文件(Windows 最新运行程序) - How to execute MSI file on Github Actions (windows-latest runner) 如何更新 windows SDK 在 Github 操作上的`windows-latest` - How to update windows SDK on `windows-latest` on Github Action 如何在 Windows 版本的 GitHub 操作上设置 Bakeware env vars? - How to set Bakeware env vars on GitHub Actions for a Windows release? 如何使用一次性Windows VM映像设置测试环境? - How to set up a testing enviroment with disposable Windows VM images? 在 Windows 容器中运行的 Windows Server Core 2019 上的 SQL Server 2012 设置失败 - SQL Server 2012 Set-Up Fails on Windows Server Core 2019 Running in Windows Container 我无法在Windows上设置和配置通用LISP(SBCL) - I can't set-up and configure Common LISP (SBCL) on Windows Python:如何在VM窗口上设置环境变量 - Python : How to set environment variables on VM windows 有没有办法在Windows 10下设置Apache Storm最新版本? - Is there a way to set up Apache Storm latest version under windows 10? 使用 github 操作在 Windows 上测试 Perl - Testing Perl on Windows with github actions Python 使用 Github 测试 Windows 上的操作 - Python testing with Github Actions on Windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM