Skip to content

xamcat/BuildVMApp

 
 

Repository files navigation

Install Xamarin Components in maCOS 13 VM Images

Check current Install Software

Installed Software and Tooling Versions for Azure DevOps Microsoft-hosted here.

Installed Software and Tooling Versions for GitHub Actions GitHub-hosted images here.

Sample Pipelines

Using Custom Script

The custom script can be found in the repo install_xam.sh.

Before using script, be sure to set the Version numbers at the top of the script

version_xam_ios="16.4.0.23"
version_xam_android="13.2.2.0"

Azure DevOps :

- task: Bash@3
   displayName: Install Xamarin Components via custom Script
   inputs:
     targetType: 'inline'
     script: |
       chmod +x install_xam.sh
       ./install_xam.sh

GitHub Actions :

- name: Install Xamarin via Custom Script
     run: |
       sh install_xam.sh

Using HomeBrew

HomeBrew is pre-installed on the macOS-13 images.

Azure DevOps :

- task: Bash@3
  displayName: Install Xamarin Components
  inputs:
    targetType: 'inline'
    script: |
      brew install --cask xamarin-ios
      brew install --cask xamarin-android

GitHub Actions :

- name: Install Xamarin
  run: |
    brew install --cask xamarin-ios
    brew install --cask xamarin-android

Using dotnet tool boots

⚠️ boots tool is not actively maintained. ⚠️

For more information on boots, check the repo.

Azure DevOps :

- task: Bash@3
  displayName: Install Xamarin Components via boots
  inputs:
    targetType: 'inline'
    script: |
      dotnet tool install -g boots
      boots --stable Xamarin.Android
      boots --stable Xamarin.iOS

GitHub Actions :

- name: Install Xamarin via boots
  run: |
    dotnet tool install -g boots
    boots --stable Xamarin.Android
    boots --stable Xamarin.iOS

Other Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.9%
  • Shell 11.1%