-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add Ubuntu16.04 based build on Azure Pipelines #2611
Add Ubuntu16.04 based build on Azure Pipelines #2611
Conversation
Edit: wrong thread sorry for the spam. I'll add it to the original. @taketwo Read this https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=vsts&tabs=yaml#timeouts You need to set the timeout explicitly to 0. A maximum limit still exists and it is 6 hours. Edit 2: Don't forget about the status badge. https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-yaml?view=vsts#get-the-status-badge |
30fb07e
to
7f43f44
Compare
Thanks for the tip! With timeout set to zero the job succeeded (on my private account, log here). It took 3 hours to build the library though, really long. That was without passing |
e266321
to
f85f293
Compare
It doesn't allow me to download to the log of the failed build :/
That would also be my intuition. Did you know the "resource limits" of their VMs? In Travis we were not able to compile with
We never really get rid of the highly involved CI pipelines. |
I can download, but it has exactly the same contents as in the web interface, i.e. only "Build Library failed" line. So the following works and finishes in 1h 44m: cmake --build . -- -j2 pcl_filters
cmake --build . -- test_filters
cmake --build . -- -j2 pcl_registration
cmake --build . -- test_registration test_registration_api
cmake --build . -- -j2 I also tried I will add one more commit on top, removing Travis pipeline and replacing the CI badge in the README, and then we are ready to go. |
👍 It might be worth to add a minor comment to the config file explaining the need for this "build order".
|
f85f293
to
734bf78
Compare
Done. |
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.
Super. Thanks a lot Sergey.
This PR adds a new job that builds PCL in the Ubuntu 16.04 based image. It also switches the documentation job to use a dedicated "doc" image with Doxygen and other necessary tools.
I've created a new organization on Docker Hub to host "environment" images where all PCL dependencies are pre-installed. The images from this organization will be used for containerized builds on Azure Pipelines. For the time being I created these images locally and pushed to the registry. In future we may commit their respective Dockerfiles to the main PCL repository (or a supplementary one) and setup a separate pipeline to rebuild and push them to the registry automatically.