Code Monkey home page Code Monkey logo

xamarin-ci-sample's Introduction

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
  1. core-tests
  • Runs unit tests for the shared TipCalc project and publishes the results to TeamCity
  1. ios-build
  • Builds the iOS app
  1. ios-adhoc
  • Builds the iOS app for ad-hoc distribution and publishes the IPA file to TeamCity as an artifact
  1. ios-appstore
  • Builds the iOS app for app store distribution and publishes the zip file to TeamCity as an artifact
  1. ios-uitests
  • Runs automated UI tests for the iOS app in a simulator and publishes the results to TeamCity
  1. ios-testcloud
  • Runs automated UI tests for the iOS app in TestCloud and publishes the results to TeamCity
  1. android-build
  • Builds the Android app
  1. android-package
  • Builds the Android app for distribution and publishes the APK file to TeamCity as an artifact
  1. android-uitests
  • Runs automated UI tests for the Android app in a simulator and publishes the results to TeamCity
  1. android-testcloud
  • Runs automated UI tests for the Android app in TestCloud and publishes the results to TeamCity

xamarin-ci-sample's People

Contributors

gshackles avatar

Watchers

Philippe Creytens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.