-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add Azure Pipelines #630
Conversation
Thanks for setting this up! Is it possible to change the organization name from |
And the project name (dev.azure.com/sandrocirulli/sandrocirulli/). (this?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now looks good to me. Let me merge this and let's see what happens.
Thanks for merging it, I hope it's going to be useful and eliminate some of the waiting time caused by AppVeyor. |
Summary
This PR introduces Azure Pipelines as an alternative CI for running our test suite under Windows.
Why
Appveyor does not allow to run parallel builds with its free version. This means that we have to wait up to 40 minutes to have results from AppVeyor compared to 10 minutes on Travis (which can run parallel builds).
What has changed
I set up an account on Azure Devops. This is linked to my own account required by Microsoft but the builds should be visible to anyone.
The new CI relies on an
azure-pipelines.yml
sitting at the root of the xspec repository, this works in a similar way as the.travis.yml
andappveyor.yml
files and runs the same tests in the same matrix configuration. I introduced the changed suggested by @AirQuick in #629 as they greatly smooth the inconsistencies between AppVeyor and Azure Pipelines running environments.I also introduced the Azure Pipelines badge in the README file which shows the status of the build and provides a link to the latest build.
How I tested it
The three parallel builds take a total time of circa 12 minutes to run which is quicker than the 40 minutes we usually have to wait for sequential builds on AppVeyor. Azure Pipelines is also able to run builds from different commits in parallel as shown in this screenshot (three builds are running independently at the same time):