Skip to content

Update azdo_pipeline.yaml for Azure Pipelines #10

Update azdo_pipeline.yaml for Azure Pipelines

Update azdo_pipeline.yaml for Azure Pipelines #10

Workflow file for this run

name: Build Xamarin.Forms app
on: [push]
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
# - name: Install Xamarin
# run: |
# brew install --cask xamarin-ios
# brew install --cask xamarin-android
- name: Install Xamarin
run: |
sh install_xam.sh
- name: Set default Xcode 15.2
run: |
XCODE_ROOT=/Applications/Xcode_15.2.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -s $XCODE_ROOT
- name: Setup .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: '5.0.x'
- name: Install dependencies
run: nuget restore BuildVMApp.sln
- name: Build iOS
run: msbuild BuildVMApp/BuildVMApp.iOS/BuildVMApp.iOS.csproj /p:Configuration=Debug /p:Platform=iPhoneSimulator
- name: Build Android
run: msbuild BuildVMApp/BuildVMApp.Android/BuildVMApp.Android.csproj /t:PackageForAndroid /p:Configuration=Debug