Thanks, haven't stumbled across Azure DevOps during my research. It looks like a valid alternative to Travis indeed.
I forgot to mention I'm Open Source but looks like you assumed so
After an initial getting-used-to-MAC-command-line-tools phase, I managed to build an APK on a MAC OS Client with the following yaml file:
# Trigger the Azure DevOps build upon changes in the master or AzureTest branches
# Build on MacOS
# Configure paths here
# Install NuGet
- task: NuGetToolInstaller@0
# Restore any missing dependencies
- task: NuGetCommand@2
# Install MonoGame and other dependencies
- task: ShellScript@2
# Build any .csproj containing "Android" as a Xamarin project
- task: XamarinAndroid@1
With install.sh being:
# Download Monogame 3.7.1 (-L is important so curl follows redirects)
curl -L -O https://github.com/MonoGame/MonoGame/releases/download/v3.7.1/MonoGame.pkg
# Install the MonoGame package
sudo installer -pkg "$(pwd)/MonoGame.pkg" -target /
I can now dive into signing the apk using an encrypted keystore and deploying it somewhere. Once that's done, I will look into the other platforms.
I will publish a guide on how to set up a cross-platform CI project once I'm done testing everything.