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

Adding BuildAndPublishInsights.yml to CI.yml so that the headers and libs are included in the CI builds. #1149

Merged
merged 78 commits into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
d362678
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
cf8a069
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
41b51cc
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
7112697
- Adding the BuildAndPublishInsights.yml to the ProjectReunion-CI.yml
zenbird Jul 29, 2021
cd1e788
Add WindowsAppSDKResource project
zenbird Jul 21, 2021
614485f
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
2949775
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
4dacca9
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
c1b8940
* Renamed the Telemetry lib project to conform to other WindowsAppSDK…
zenbird Jul 28, 2021
dd59411
* Renamed all projects to Insights
zenbird Jul 28, 2021
501aa54
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
5ba5d97
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
efc9080
Add a YML script to publish the WindowsAppSDKTelemetry header
zenbird Jul 27, 2021
44ad5b9
- Adding the BuildAndPublishInsights.yml to the ProjectReunion-CI.yml
zenbird Jul 29, 2021
9d210b3
Set DefaultLanguage (#1160)
huichen123 Aug 2, 2021
e735520
Adding an explicit reference to resources winmd causes invalid appxma…
Scottj1s Aug 2, 2021
c0b5abc
Move PushNotifications overrides out of GenerateDynamicDependenciesOv…
DrusTheAxe Aug 3, 2021
99f022b
Adding PowerNotification APIs (#1142)
huzaifa-d Aug 3, 2021
80c3ea4
* Adding a dependency on Microsoft.Windows.ImplementationLibrary. Thi…
zenbird Aug 3, 2021
b50c49c
Merge branch 'main' into user/zenbird/WindowsAppSDK
ZenBird-zz Aug 3, 2021
2c81557
* Adding a dependency on Microsoft.Windows.ImplementationLibrary. Thi…
zenbird Aug 3, 2021
feb8ef0
* Adding a dependency on Microsoft.Windows.ImplementationLibrary. Thi…
zenbird Aug 3, 2021
928178b
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
0b367cb
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
592e559
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
5a11fd0
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
3084370
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
0d3154c
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 4, 2021
3f1c42e
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
cccffdb
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
45abe33
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
386bffe
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
5eafe3b
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
e3827c0
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
1bb867e
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
a0b8da3
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
c8dcf29
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
549a5bd
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
f862d71
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
9e8af18
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
1b57d36
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
1a37d7b
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
4d3baf6
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
61c5091
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
MythiliM Aug 5, 2021
cb4a125
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
ad3e572
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
6ec5138
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
b66505a
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
e636f9c
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 5, 2021
52c9d31
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
4fd38d0
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
a784a21
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
a5f1f80
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
9a7bac0
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
2824d27
Merge branch 'main' into user/zenbird/WindowsAppSDK
ZenBird-zz Aug 6, 2021
cef6737
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
b49dcd0
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
00b7095
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
81ffd86
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
2accec8
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
7b4fa8b
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
8d8cbd1
Merge branch 'main' into user/zenbird/WindowsAppSDK
ZenBird-zz Aug 6, 2021
751543a
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
c740aa2
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
f82905a
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 6, 2021
c366c59
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
7a4e6f9
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
ef0f595
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
3ce9593
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
50caee4
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
bd8130b
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
408c381
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
1aa9b67
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
145edd7
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
3cb797a
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
900ec83
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
a5e1f1c
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
852eb95
Merge branch 'user/zenbird/WindowsAppSDK' of https://github.com/micro…
zenbird Aug 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
parameters:
CommonHeadersDirectory: $(Build.SourcesDirectory)\dev\Common
WindowsAppSDKInsightsSourceDirectory: $(Build.SourcesDirectory)\dev\WindowsAppSDKInsightsResource
WindowsAppSDKInsightsSourceDirectory: $(Build.SourcesDirectory)\dev\WindowsAppSDK_Insights
WindowsAppSDKInsightsBinariesDirectory: $(Build.SourcesDirectory)\BuildOutput

steps:
Expand All @@ -10,20 +9,31 @@ steps:
versionSpec: 5.6
continueOnError: true

- task: NuGetAuthenticate@0
inputs:
nuGetServiceConnections: 'TelemetryInternal'

- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
displayName: 'NuGet restore of WIL'
displayName: 'NuGet restore of packages'
inputs:
command: 'custom'
arguments: 'restore ${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\WindowsAppSDKInsightsResourceLib\packages.config -ConfigFile nuget.config -PackagesDirectory ${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\packages'
arguments: 'restore ${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\WindowsAppSDKInsightsLib\packages.config -ConfigFile nuget.config -PackagesDirectory ${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\packages'

- task: powershell@2
name: UpdateTraceloggingConfig
inputs:
targetType: 'inline'
script: |
$srcPath = get-childitem -path 'dev\WindowsAppSDK_Insights\packages' -File 'MicrosoftTelemetry.h' -Recurse
$destinationPath = get-childitem -path 'dev\WindowsAppSDK_Insights\packages' -File 'Traceloggingconfig.h' -Recurse
echo $srcPath.FullName, $destinationPath.FullName
copy-item -Force $srcPath.FullName $destinationPath.FullName

- task: MSBuild@1
displayName: 'build WindowsAppSDKInsights lib'
inputs:
# msbuildLocationMethod: 'location'
# msbuildLocation: ${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\.buildtools\MSBuild\Current\Bin\MSBuild.exe
platform: '$(buildPlatform)'
solution: '${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\WindowsAppSDKInsightsResourceLib\WindowsAppSDKInsightsResourceLib.vcxproj'
solution: '${{ parameters.WindowsAppSDKInsightsSourceDirectory }}\WindowsAppSDKInsightsLib\WindowsAppSDKInsightsLib.vcxproj'
configuration: '$(buildConfiguration)'
msbuildArguments: '/restore /binaryLogger:$(Build.SourcesDirectory)/WindowsAppSDKInsights.$(buildPlatform).$(buildConfiguration).binlog'

Expand All @@ -42,40 +52,19 @@ steps:
- task: CopyFiles@2
displayName: 'copy WindowsAppSDKInsights.h into output folder'
inputs:
SourceFolder: '${{ parameters.CommonHeadersDirectory }}'
SourceFolder: '${{ parameters.WindowsAppSDKInsightsSourceDirectory }}'
Contents: |
WindowsAppSDKInsights.h
TargetFolder: '$(Build.ArtifactStagingDirectory)\fullnuget\include'
flattenFolders: true

- task: CopyFiles@2
displayName: 'copy import lib x86'
condition: and(succeeded(), eq(variables['buildPlatform'], 'x86'))
inputs:
SourceFolder: '$(Build.ArtifactStagingDirectory)\Microsoft.WindowsAppSDK.Insights\lib\x86'
Contents: |
Microsoft.WindowsAppSDK.Insights.lib
TargetFolder: '$(Build.ArtifactStagingDirectory)\fullnuget\lib\win10-x86'
flattenFolders: true

- task: CopyFiles@2
displayName: 'copy import lib x64'
condition: and(succeeded(), eq(variables['buildPlatform'], 'x64'))
inputs:
SourceFolder: '$(Build.ArtifactStagingDirectory)\Microsoft.WindowsAppSDK.Insights\lib\x64'
Contents: |
Microsoft.WindowsAppSDK.Insights.lib
TargetFolder: '$(Build.ArtifactStagingDirectory)\fullnuget\lib\win10-x64'
flattenFolders: true

- task: CopyFiles@2
displayName: 'copy import lib ARM64'
condition: and(succeeded(), eq(variables['buildPlatform'], 'ARM64'))
displayName: 'copy import lib $(buildPlatform)'
inputs:
SourceFolder: '$(Build.ArtifactStagingDirectory)\Microsoft.WindowsAppSDK.Insights\lib\ARM64'
SourceFolder: '$(Build.ArtifactStagingDirectory)\Microsoft.WindowsAppSDK.Insights\lib\$(buildPlatform)'
Contents: |
Microsoft.WindowsAppSDK.Insights.lib
TargetFolder: '$(Build.ArtifactStagingDirectory)\fullnuget\lib\win10-arm64'
TargetFolder: '$(Build.ArtifactStagingDirectory)\fullnuget\lib\win10-$(buildPlatform)'
flattenFolders: true

- task: PublishBuildArtifacts@1
Expand Down
6 changes: 6 additions & 0 deletions build/ProjectReunion-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ jobs:
TSLint: false
ToolLogsNotFoundAction: 'Standard'

- job: PublishInsights
pool:
vmImage: 'windows-latest'
steps:
- template: AzurePipelinesTemplates\WindowsAppSDK-BuildAndPublishInsights-Steps.xml

- job: PublishMRT
dependsOn:
- BuildMRT
Expand Down
4 changes: 4 additions & 0 deletions build/build-mrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ steps:
versionSpec: 5.6
continueOnError: true

- task: NuGetAuthenticate@0
inputs:
nuGetServiceConnections: 'TelemetryInternal'

# Start restoring packages for C++ projects. The C# ones will be restored by the build task
# Note: 'NuGetCommand@2' is ambiguous so the specific task GUID must be used instead.
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
Expand Down

This file was deleted.

This file was deleted.

Loading