Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

xamarin-ci-sample

Sample app demonstrating creating automated builds for Xamarin.iOS/Android apps

Subscribe to updates I use xamarin-ci-sample


Statistics on xamarin-ci-sample

Number of watchers on Github 49
Number of open issues 0
Average time to close an issue about 1 hour
Main language XML
Open pull requests 0+
Closed pull requests 2+
Last commit over 5 years ago
Repo Created about 6 years ago
Repo Last Updated over 2 years ago
Size 1.73 MB
Organization / Authorgshackles
Contributors1
Page Updated
Do you use xamarin-ci-sample? Leave a review!
View xamarin-ci-sample activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating xamarin-ci-sample for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Xamarin CI Sample

This is a sample of how to set up automated builds for Xamarin.iOS and Xamarin.Android apps, including running UI tests locally and in TestCloud, and packaging the apps for distribution. The build system used here is FAKE.

The TipCalc sample app used here was borrowed with love from Xamarin's samples. Minor updates were made for testability, but that's it.

The TeamCityExport.zip file contains an export of an example TeamCity configuration using this setup.

Building

To run a build, from the command line do:

./build.sh {target}

These are the targets available:

  1. core-build
    • Builds the shared cross-platform TipCalc project
  2. core-tests
    • Runs unit tests for the shared TipCalc project and publishes the results to TeamCity
  3. ios-build
    • Builds the iOS app
  4. ios-adhoc
    • Builds the iOS app for ad-hoc distribution and publishes the IPA file to TeamCity as an artifact
  5. ios-appstore
    • Builds the iOS app for app store distribution and publishes the zip file to TeamCity as an artifact
  6. ios-uitests
    • Runs automated UI tests for the iOS app in a simulator and publishes the results to TeamCity
  7. ios-testcloud
    • Runs automated UI tests for the iOS app in TestCloud and publishes the results to TeamCity
  8. android-build
    • Builds the Android app
  9. android-package
    • Builds the Android app for distribution and publishes the APK file to TeamCity as an artifact
  10. android-uitests
    • Runs automated UI tests for the Android app in a simulator and publishes the results to TeamCity
  11. android-testcloud
    • Runs automated UI tests for the Android app in TestCloud and publishes the results to TeamCity
xamarin-ci-sample list of languages used
More projects by gshackles View all
Other projects in XML
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark