1e78a9de6a
Initial implementation of the projects CI in yaml to be uses with VSTS. The port is not complete as there are some small issues to address, the following are the known issues: * https://github.com/xamarin/maccore/issues/2349 * https://github.com/xamarin/maccore/issues/2350 * https://github.com/xamarin/xamarin-macios/issues/10299 * https://github.com/xamarin/xamarin-macios/issues/10298 * https://github.com/xamarin/xamarin-macios/issues/10300 * https://github.com/xamarin/maccore/issues/2351 Nevertheless the CI already compiles the project, creates the pkgs and nugets and publishes them so that we can create insertions. Co-authored-by: Mike Bond <mjbond-msft@outlook.com> Co-authored-by: cadsit <connor.adsit@gmail.com> Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Jenkinsfile | ||
Makefile | ||
README.md | ||
add-commit-comment.sh | ||
add-commit-status.sh | ||
build-api-diff.sh | ||
build.sh | ||
compare.sh | ||
custom-labels.txt | ||
fetch-pr-labels.sh | ||
list-macos-platforms.csharp | ||
prepare-packaged-macos-tests.sh | ||
provision-deps.sh | ||
publish-results.sh | ||
publish-to-nuget.sh | ||
run-tests.sh | ||
utils.groovy | ||
vsts-device-tests-set-status.sh |
README.md
Jenkins
This directory contains all the scripts to be executed as steps in the jenkins build bots for each of the PR in the project. The expected order in which they have to be executed is as follows:
- provision-deps.sh : Downloads and installs the project dependencies.
- build.sh : Builds the project.
- run-tests.sh : Runs the tests.
- build-api-diff.sh : Builds the API diff.
Jenkinsfile
This file contains the logic to run on our internal Jenkins, available here: http://xamarin-jenkins/blue/organizations/jenkins/macios/activity
The Jenkins job is a multi-branch pipeline job, it will execute in the following conditions:
- For all branches in the xamarin org (not forks) that has a jenkins/Jenkinsfile file.
- For all pull requests from people with write access (also conditional on having a jenkins/Jenkinsfile file).
In very broad strokes, the Jenkins job will:
-
Checkout xamarin-macios
-
Build
-
Create packages, upload them to Azure and publish the links to the packages as GitHub statuses.
-
Run our test suite.
-
Run selected Xamarin.Mac tests on all macOS versions we support. This is done in parallel with the normal test run.
If a particular macOS version must be excluded temporarily from testing, search Jenkinsfile for
excludedOSes
and follow the instructions you'll find.