Skip to content

Commit

Permalink
Revert some changes to build-appx
Browse files Browse the repository at this point in the history
  • Loading branch information
keveleigh committed Mar 23, 2022
1 parent e570173 commit 5d2d914
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 3 additions & 6 deletions pipelines/templates/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ steps:
ProjectName: MixedRealityToolkit
Architectures: [x86]
BuildFolderPath: $(Agent.TempDirectory)/build/uwp
OutputPath: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-x86

- task: PublishBuildArtifacts@1
displayName: Publish x86 AppX
inputs:
ArtifactName: mrtk-build-x86
PathToPublish: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-x86
PathToPublish: $(Build.ArtifactStagingDirectory)/Apps/uwp-x86

# Build UWP ARM.
- ${{ if eq(parameters.buildUWPArm, true) }}:
Expand All @@ -63,13 +62,12 @@ steps:
ProjectName: MixedRealityToolkit
Architectures: [ARM]
BuildFolderPath: $(Agent.TempDirectory)/build/uwp
OutputPath: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-arm

- task: PublishBuildArtifacts@1
displayName: Publish ARM AppX
inputs:
ArtifactName: mrtk-build-arm
PathToPublish: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-arm
PathToPublish: $(Build.ArtifactStagingDirectory)/Apps/uwp-arm

# Build UWP ARM64.
- ${{ if eq(parameters.buildUWPArm64, true) }}:
Expand All @@ -78,10 +76,9 @@ steps:
ProjectName: MixedRealityToolkit
Architectures: [ARM64]
BuildFolderPath: $(Agent.TempDirectory)/build/uwp
OutputPath: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-arm64

- task: PublishBuildArtifacts@1
displayName: Publish ARM64 AppX
inputs:
ArtifactName: mrtk-build-arm64
PathToPublish: $(Build.ArtifactStagingDirectory)/mrtk-build-uwp-arm64
PathToPublish: $(Build.ArtifactStagingDirectory)/Apps/uwp-arm64
7 changes: 2 additions & 5 deletions pipelines/templates/tasks/build-appx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ parameters:
- name: BuildFolderPath
type: string

- name: OutputPath
type: string

steps:
- ${{ each arch in parameters.Architectures }}:
- task: MSBuild@1
Expand All @@ -24,7 +21,7 @@ steps:
configuration: Master

- task: CopyFiles@2
displayName: Copy ${{ arch }} AppX to ${{ parameters.OutputPath }}
displayName: Copy ${{ arch }} AppX to artifacts staging directory
inputs:
sourceFolder: ${{ parameters.BuildFolderPath }}/AppPackages/${{ parameters.ProjectName }}/${{ parameters.ProjectName }}_$(MRTKVersion).0_${{ arch }}_Master_Test
targetFolder: ${{ parameters.OutputPath }}
targetFolder: $(Build.ArtifactStagingDirectory)/Apps/uwp-${{ arch }}

0 comments on commit 5d2d914

Please sign in to comment.