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

build and test infra cleanup #4069

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

CaseyCarter
Copy link
Member

@CaseyCarter CaseyCarter commented Oct 4, 2023

  • Extract common pipeline config into a new azure-devops/config.yml variable template so we don't need to repeat pool info and target directories in both pipelines.
  • Improve the displayNames of all the pipeline stages.
  • Use trigger: none so ASan pipeline runs don't trigger for pushes to any branch. We do want to schedule a daily build, so add schedules.
  • benchmarkBuildOutputLocationVar was actually used to control building the benchmarks; replace with a boolean buildBenchmarks.
  • We need to explicitly remove asan-pipeline's second stage's dependency on the first with dependsOn: [].
  • We never set buildOutputLocationVar to a non-default value; get rid of it.
  • Make litFlags a defaulted parameter of cmake-configure-build.yml so we don't need to duplicate it.
  • Don't try to build the benchmarks if configuring the benchmarks fails.
  • Consistently quote paths in azure-devops/cmake-configure-build.yml.

Reminder: We'll need to update https://github.com/microsoft/STL/wiki/Checklist-for-Toolset-Updates after this merges, the pool name now appears in azure-devops/config.yml.

* Extract common pipeline config into a new `azure-devops/config.yml` variable template so we don't need to repeat pool info and target directories in both pipelines.
* Improve the `displayName`s of all the pipeline stages.
* Use `trigger: none` so ASan pipeline runs don't trigger for pushes to _any_ branch. We _do_ want to schedule a daily build, so add `schedules`.
* `benchmarkBuildOutputLocationVar` was actually used to control building the benchmarks; replace with a boolean `buildBenchmarks`.`
* We need to explicitly remove `asan-pipeline`'s second stage's dependency on the first with `dependsOn: []`.
* We never set `buildOutputLocationVar` to a non-default value; get rid of it.
* Make `litFlags` a defaulted parameter of `cmake-configure-build.yml` so we don't need to duplicate it.
* Don't try to build the benchmarks if configuring the benchmarks fails.
@CaseyCarter CaseyCarter added infrastructure Related to repository automation build Related to the build system labels Oct 4, 2023
@CaseyCarter CaseyCarter requested a review from a team as a code owner October 4, 2023 01:46
@StephanTLavavej StephanTLavavej self-assigned this Oct 4, 2023
azure-devops/config.yml Outdated Show resolved Hide resolved
azure-devops/cross-build.yml Show resolved Hide resolved
@StephanTLavavej StephanTLavavej removed their assignment Oct 5, 2023
@StephanTLavavej StephanTLavavej self-assigned this Oct 6, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit b448869 into microsoft:main Oct 6, 2023
35 checks passed
@StephanTLavavej
Copy link
Member

Thanks for setting up this daily ASan CI! I've updated the toolset checklist. ✅ 📆 🎉

@CaseyCarter CaseyCarter deleted the its-a-me-a-mario branch October 6, 2023 18:53
@CaseyCarter
Copy link
Member Author

I've updated the toolset checklist. ✅ 📆 🎉

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to the build system infrastructure Related to repository automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants