This commit is contained in:
Ruben Guerrero 2020-08-14 12:20:21 -07:00 коммит произвёл GitHub
Родитель 4ed5e8e311
Коммит 84c00d0497
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 90 добавлений и 5 удалений

Просмотреть файл

@ -148,7 +148,7 @@ The following native platforms are in development now:
**Release x32 Xerces With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20Windows%20CI?branchName=master&jobName=Windows&configuration=Windows%20release_32_xerces)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=64&branchName=master)| **Release x32 Xerces With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20Windows%20CI?branchName=master&jobName=Windows&configuration=Windows%20release_32_xerces)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=64&branchName=master)|
**Release x64 Xerces With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20Windows%20CI?branchName=master&jobName=Windows&configuration=Windows%20release_64_xerces)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=64&branchName=master)| **Release x64 Xerces With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20Windows%20CI?branchName=master&jobName=Windows&configuration=Windows%20release_64_xerces)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=64&branchName=master)|
Built in the Azure Pipelines Hosted VS2017 pool. See specifications [here](https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2017-Server2016-Readme.md) Built in the Azure Pipelines windows-latest pool. See specifications [here](https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md)
### macOS ### macOS
||master| ||master|
@ -158,8 +158,16 @@ Built in the Azure Pipelines Hosted VS2017 pool. See specifications [here](https
**Release Without Bundle support**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_nobundle)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)| **Release Without Bundle support**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_nobundle)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Debug With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20debug_pack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)| **Debug With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20debug_pack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_pack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)| **Release With Pack**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_pack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Debug arm64**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20debug_nopack_arm64)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release arm64**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_nopack_arm64)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release Without Bundle support arm64**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_nobundle_arm64)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Debug With Pack arm64**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20debug_pack_arm64)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release With Pack arm64**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS%20release_pack_arm64)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release Universal**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS_universal_nopack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release Without Bundle support Universal**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macOS_universal_nobundle)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
**Release With Pack Universal**|[![Build Status](https://dev.azure.com/ms/msix-packaging/_apis/build/status/msix-packaging%20macOS%20CI?branchName=master&jobName=macOS&configuration=macO_universal_pack)](https://dev.azure.com/ms/msix-packaging/_build/latest?definitionId=69&branchName=master)|
Built in the Azure Pipelines macOS pool. See specification [here](https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-10.14-Readme.md) Built in the Azure Pipelines macOS pool. See specification [here](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md)
### iOS ### iOS
||master| ||master|

Просмотреть файл

@ -45,6 +45,9 @@ jobs:
release_arm64: release_arm64:
_arguments: -b MinSizeRel -arch arm64 _arguments: -b MinSizeRel -arch arm64
_artifact: iOS-arm64 _artifact: iOS-arm64
release_arm64_nobundle:
_arguments: -b MinSizeRel -arch arm64 -sb
_artifact: iOS-arm64-nobundle
steps: steps:
- task: Bash@3 - task: Bash@3
displayName: Build displayName: Build

Просмотреть файл

@ -45,7 +45,7 @@ jobs:
_artifact: MACOS-nobundle _artifact: MACOS-nobundle
release_pack: release_pack:
_arguments: -b MinSizeRel --pack _arguments: -b MinSizeRel --pack
_artifact: MACOSchk-pack _artifact: MACOS-pack
debug_pack: debug_pack:
_arguments: -b Debug --pack _arguments: -b Debug --pack
_artifact: MACOSchk-pack _artifact: MACOSchk-pack
@ -61,7 +61,7 @@ jobs:
_artifact: MACOSarm64-nobundle _artifact: MACOSarm64-nobundle
release_pack_arm64: release_pack_arm64:
_arguments: -b MinSizeRel --pack -arch arm64 --skip-tests _arguments: -b MinSizeRel --pack -arch arm64 --skip-tests
_artifact: MACOSarm64chk-pack _artifact: MACOSarm64-pack
debug_pack_arm64: debug_pack_arm64:
_arguments: -b Debug --pack -arch arm64 --skip-tests _arguments: -b Debug --pack -arch arm64 --skip-tests
_artifact: MACOSarm64chk-pack _artifact: MACOSarm64chk-pack
@ -118,3 +118,42 @@ jobs:
inputs: inputs:
ArtifactName: $(_artifact) ArtifactName: $(_artifact)
condition: succeededOrFailed() condition: succeededOrFailed()
- job: macOS_universal_nopack
dependsOn:
- 'macOS'
pool:
name: Azure Pipelines
vmImage: macOS-latest
steps:
- template: templates/macos-universal.yml
parameters:
artifact_output: MACOS-Universal
artifact_x86: MACOS
artifact_arm64: MACOSarm64
- job: macOS_universal_nobundle
dependsOn:
- 'macOS'
pool:
name: Azure Pipelines
vmImage: macOS-latest
steps:
- template: templates/macos-universal.yml
parameters:
artifact_output: MACOS-nobundle-Universal
artifact_x86: MACOS-nobundle
artifact_arm64: MACOSarm64-nobundle
- job: macOS_universal_pack
dependsOn:
- 'macOS'
pool:
name: Azure Pipelines
vmImage: macOS-latest
steps:
- template: templates/macos-universal.yml
parameters:
artifact_output: MACOS-pack-Universal
artifact_x86: MACOS-pack
artifact_arm64: MACOSarm64-pack

Просмотреть файл

@ -68,7 +68,7 @@ jobs:
_artifact: WIN32-pack _artifact: WIN32-pack
release_64_pack: release_64_pack:
_arguments: x64 --pack _arguments: x64 --pack
_artifact: WIN32-pack _artifact: WIN32-x64-pack
debug_32_pack: debug_32_pack:
_arguments: x86 -d --pack _arguments: x86 -d --pack
_artifact: WIN32chk-pack _artifact: WIN32chk-pack

Просмотреть файл

@ -0,0 +1,35 @@
# Template helper to package projects (using DotNetCoreCLI Publish Command) and publish them as an artifact
parameters:
artifact_output: ''
artifact_x86: ''
artifact_arm64: ''
steps:
- task: DownloadBuildArtifacts@0
displayName: 'Download ${{ parameters.artifact_x86 }}'
inputs:
artifactName: ${{ parameters.artifact_x86 }}
- task: DownloadBuildArtifacts@0
displayName: 'Download ${{ parameters.artifact_arm64 }}'
inputs:
artifactName: ${{ parameters.artifact_arm64 }}
- script: |
sudo xcode-select -switch /Applications/Xcode_12_beta.app/Contents/Developer
cp -R $(System.ArtifactsDirectory)/${{ parameters.artifact_x86 }} $(System.ArtifactsDirectory)/Universal
rm $(System.ArtifactsDirectory)/Universal/lib/libmsix.dylib
rm $(System.ArtifactsDirectory)/Universal/bin/makemsix
lipo -create -output $(System.ArtifactsDirectory)/Universal/lib/libmsix.dylib $(System.ArtifactsDirectory)/${{ parameters.artifact_x86 }}/lib/libmsix.dylib $(System.ArtifactsDirectory)/${{ parameters.artifact_arm64 }}/lib/libmsix.dylib
lipo -create -output $(System.ArtifactsDirectory)/Universal/bin/makemsix $(System.ArtifactsDirectory)/${{ parameters.artifact_x86 }}/bin/makemsix $(System.ArtifactsDirectory)/${{ parameters.artifact_arm64 }}/bin/makemsix
displayName: 'Command Line Script'
- task: PublishBuildArtifacts@1
displayName: 'Publish Universal'
inputs:
PathtoPublish: '$(System.ArtifactsDirectory)/Universal'
ArtifactName: ${{ parameters.artifact_output }}