-
Notifications
You must be signed in to change notification settings - Fork 49
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,azure-pipelines: use matrix strategy, and user artifacts from libiio's pipeline #62
Conversation
Are we waiting for libiio to make artifacts available for this job to run? |
eef9824
to
e48344d
Compare
yep; this is one of those PRs that is also testing that PRs work with CI :p |
Seems the artifacts for the master branch have been picked up this time for the PR. We may have to publish some sort of release artifacts at some point. |
b6d63cf
to
0be2d4a
Compare
93b4c92
to
02d8f0c
Compare
Includes rework to use matrix strategy and artifacts publishing for libad9361-iio for Linux & Mac & Win. This build exports the ad9361.h header instead of the iio.h header. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Up until now libiio was always installed. But for Azure we want to install it from the pipeline artifacts. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
This is useful for CIs or mechanisms that already provided the artifact for us. This way we can install it and run the build. Also pass it to the inside-docker.sh script via INSIDE_DOCKER_TRAVIS_CI_ENV. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
…nux/Mac) With this, the libad9361-iio build will download artifacts from the libiio pipeline, and use them. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
The lib.sh script library has been updated (now with the move to Azure). It did require some changes to have some cleaner support for multi-arch docker images. This change updates the build scripts for Linux in a similar way. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Required on some Ubuntu/Debian dockers, so that timezone setup doesn't kick-in. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Roughly adapted from libiio. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
02d8f0c
to
919fa69
Compare
Closing and reopening to trigger a new build |
disabled appveyor builds for this repo; |
Matrix strategy adapted from Travis Collins' work on libiio with Azure Pipelines.
This reduces duplication of the same steps for Linux & Mac builds.
Added artifact publishing. These are pipeline artifacts.
Also, using libiio's artifacts for the build.
For now, we're picking up the latest artifact, but later we may add branch matching (by un-commenting the bits in the yaml file).
Signed-off-by: Alexandru Ardelean alexandru.ardelean@analog.com