Skip to content
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

[vcpkg] Commonize pipelines build powershell and don't use binary caching in CI (rather than PR) builds #12082

Merged
merged 4 commits into from
Jun 25, 2020

Conversation

BillyONeal
Copy link
Member

This change obsoletes #11502 by making full rebuilds a normal part of our engineering process. Our CI builds are rolling: so even though this is typically going to take ~6-10 hours of machine time per triplet we build right now, it will batch up additional merged changes over that 6-10 hours and start again.

Hopefully this will give us a better understanding of ports that are flaky over time.

@BillyONeal BillyONeal added info:internal This PR or Issue was filed by the vcpkg team. category:infrastructure Pertaining to the CI/Testing infrastrucutre labels Jun 24, 2020
@BillyONeal
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@BillyONeal
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@JackBoosY JackBoosY self-assigned this Jun 24, 2020
@BillyONeal BillyONeal marked this pull request as ready for review June 25, 2020 01:32
@cbezault
Copy link
Contributor

I don't see where the CI gets batched. I think that a CI run gets kicked off for every new check-in, no?

@BillyONeal
Copy link
Member Author

@cbezault It's in the trigger settings in the web interface:

image

@cbezault
Copy link
Contributor

I think that can live in the yaml instead of in the interface but no complaints from me then.


$env:VCPKG_DOWNLOADS = Join-Path $WorkingRoot 'downloads'
$buildtreesRoot = Join-Path $WorkingRoot 'buildtrees'
$installRoot = Join-Path $WorkingRoot 'install'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the installRoot be named installed?

)

if (-Not (Test-Path "triplets/$Triplet.cmake")) {
Write-Error 'Incorrect triplet, please supply a valid triplet.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we print out the name of the triplet?

Copy link
Contributor

@dan-shaw dan-shaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments, otherwise LGTM

@BillyONeal
Copy link
Member Author

I think that can live in the yaml instead of in the interface but no complaints from me then.

We use this same .yaml from both the PR pipeline and the CI pipeline, and those have different trigger settings, so it can't be in the yaml.

@BillyONeal BillyONeal merged commit 0d37525 into microsoft:master Jun 25, 2020
@BillyONeal BillyONeal deleted the ci_build_all_the_things branch June 25, 2020 23:36
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants