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

Fix to the official build (API Compat tool) #3667

Merged
merged 1 commit into from
May 6, 2019

Conversation

artidoro
Copy link
Contributor

@artidoro artidoro commented May 6, 2019

PR #3623 breaks the official build because the .Net Core 2.1 runtime is not found.
We have it locally in the tools directory, so a solution is to make it point to that local installation of the runtime.

Fixes #3666.

@artidoro artidoro added the Build Build related issue label May 6, 2019
@artidoro artidoro self-assigned this May 6, 2019
@@ -24,8 +24,7 @@
<!-- API Compat -->
<PropertyGroup>
<RunApiCompat Condition="'$(RunApiCompat)' == ''">$(IsStableProject)</RunApiCompat>
<ToolHostCmd Condition="'$(OS)' != 'Windows_NT'">$(ToolsDir)dotnetcli/dotnet</ToolHostCmd>
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, that's interesting. So we were assuming that if it was windows, then we wouldn't need to use the tools directory. Fun stuff. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, on the CI windows machines most likely it was installed by default, but not on the official build machines.

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

Thank you @artidoro .

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

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

:shipit:

@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

Merging #3667 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3667      +/-   ##
==========================================
- Coverage   72.78%   72.68%   -0.11%     
==========================================
  Files         808      805       -3     
  Lines      145588   145533      -55     
  Branches    16250    16250              
==========================================
- Hits       105964   105776     -188     
- Misses      35202    35335     +133     
  Partials     4422     4422
Flag Coverage Δ
#Debug 72.68% <ø> (-0.11%) ⬇️
#production 68.15% <ø> (-0.14%) ⬇️
#test 89.03% <ø> (ø) ⬆️
Impacted Files Coverage Δ
....ML.OnnxTransformer/DnnImageFeaturizerTransform.cs 0% <0%> (-95.24%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxCatalog.cs 50% <0%> (-50%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxTransform.cs 66.44% <0%> (-19.8%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxUtils.cs 67.01% <0%> (-10.31%) ⬇️
...soft.ML.Data/DataView/DataViewConstructionUtils.cs 78.63% <0%> (-6.65%) ⬇️
src/Microsoft.ML.Data/Transforms/ColumnCopying.cs 83.49% <0%> (-1.95%) ⬇️
src/Microsoft.ML.Maml/MAML.cs 24.75% <0%> (-1.46%) ⬇️
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 86.1% <0%> (-0.16%) ⬇️
...OnnxTransformer.StaticPipe/OnnxStaticExtensions.cs
...L.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs
... and 2 more

@artidoro artidoro merged commit baffd60 into dotnet:master May 6, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Build Build related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Official build failure due to the API Compat tool PR
4 participants