-
-
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
Use preinstalled Boost on Azure #2935
Use preinstalled Boost on Azure #2935
Conversation
It's probably unrelated to these commits, but most tests fail with an exception and 0x135 exit code:
|
If pre-installed Boost is a dynamic link library, It may be /bin ( |
Thanks for suggestion! It's ridiculous, but I just can not print the contents of
So for now I removed printing from the job. In the meanwhile I figured out how to properly update P.S. One other problem that complicates debugging is that apparently some of Azure runners have old images deployed that don't have Boost yet. |
a291232
to
b3d931c
Compare
I finally managed to get one of the jobs through: log. Seems like the problem with failing tests is solved by adding As I mentioned before, not all Azure runners have up-to-date images with Boost installed. Until this changes we should not merge this PR. In the meanwhile I have a few questions, maybe @UnaNancyOwen you can answer them:
|
If pre-installed boost is dynamic link library, these test program needs to refer dlls at runtime. Therefor, It is necessary to add dlls location to environment variable Path. (In generally, It is /bin. I don't know why it is /lib.) Probably, These are remnant of CI when using AppVeyor. |
@taketwo Are there other upstream changes to wait for? |
I think this was the reason
I'm not sure though how to verify when that happens. |
@SergioRAgostinho @taketwo I get it. 👌 |
One other option that just came to my mind would be to have a step that checks if |
I added conditional Boost install step, but apparently this condition does not work as expected:
In the last run x64 agent had Boost and x86 agent did not, but both executed the step. If there are any experts in Azure conditions, please chime in! |
I reported the issue of Boost not being available on all agents to Microsoft some days ago. They confirmed and fixed the issue. Therefore this one is finally good to go. |
As discussed in #2928, use preinstalled Boost instead of installing through vcpkg.
This PR includes a temporary commit that fixes a problem with environment variables on Azure agents.
Maintainer Edit: