Automate Multilingual App Toolkit Building #58
Labels
🤖CI/CD
Issues and PRs that concern continuous integration and deployment.
enhancement
New feature or request
Milestone
Ref #81
Problem
The build workflow currently doesn't use the MAT for compiling language files, which means that errors in those files won't be caught. In addition, language modifications aren't processed and won't appear in further builds until the project is compiled on a developer's environment.
Adding it to the build workflow has proven to be tricky: the 2022 edition of the extension
requires an administrator's approval of a UAC prompt to continue. The GitHub-hosted runner runs commands under a pseudo-administrator account which seems to be causing the install process to halt and require acknowledgement of the UAC prompt. I can't find any combination of switches in the VSIXInstaller to make this work in the build environment. I have a VS Developer Community issue open hoping to mitigate this. I also have requested that GitHub add the extension to the runner images.Update: It appears that the extension does end up installing, but it takes about 20 minutes to do so. May need to investigate this or find an alternative solution.
In the meantime, I attempted to setup an Azure free tier VM, but ended up using the wrong image and finding out that it was incompatible with the toolkit extension (Windows Server Core does not have UI components and other libraries necessary to install Visual Studio, which is required by the MAT.) Azure still remains an option but required a lot of effort to get off the ground last time.
I'm still making tweaks to the build workflow to make sure I understand what exactly the issue is (also proving to be difficult),
Find some way to elevate permissions of the runner process (like How to give extra privileges to the runner over the self-hosted Windows server? actions/runner#408, although the suggestion solution doesn't seem to work in the current environment)Attempt to install the VS2017+ edition of the extension, which may not require admin rights (needs verification)References
The text was updated successfully, but these errors were encountered: