Skip to content

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

Merged
BillyONeal merged 4 commits intomicrosoft:masterfrom
BillyONeal:ci_build_all_the_things
Jun 25, 2020
Merged

[vcpkg] Commonize pipelines build powershell and don't use binary caching in CI (rather than PR) builds#12082
BillyONeal merged 4 commits intomicrosoft:masterfrom
BillyONeal:ci_build_all_the_things

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 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).

@BillyONeal BillyONeal force-pushed the ci_build_all_the_things branch from 661ce73 to 3c12065 Compare June 24, 2020 07:40
@JackBoosY JackBoosY self-assigned this Jun 24, 2020
@BillyONeal BillyONeal force-pushed the ci_build_all_the_things branch from 4e0f983 to 5416769 Compare June 25, 2020 01:32
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants