Uno.Themes/azure-pipelines.yml

92 строки
2.5 KiB
YAML
Исходник Обычный вид История

2020-09-25 02:16:48 +03:00
variables:
2020-05-20 01:09:16 +03:00
# Path where packages (nuget or app packages) will be copied to.
PackageOutputPath: $(Build.ArtifactStagingDirectory)
# For Application.Building.Light optimizations
IsLightBuild: $[eq(variables['Build.Reason'], 'PullRequest')]
2021-03-03 23:32:56 +03:00
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
IsReleaseBranch: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
2020-05-20 01:09:16 +03:00
2021-01-20 17:56:16 +03:00
ANDROID_NDK_HOME: C:\Microsoft\AndroidNDK64\android-ndk-r16b
ANDROID_NDK_PATH: C:\Microsoft\AndroidNDK64\android-ndk-r16b
AndroidNdkDirectory: C:\Microsoft\AndroidNDK64\android-ndk-r16b
2020-09-25 02:16:48 +03:00
jobs:
- job: Windows # Build UWP/Android/NuGet
2021-08-26 22:53:04 +03:00
timeoutInMinutes: 90
2020-09-25 02:16:48 +03:00
strategy:
2021-04-26 23:34:22 +03:00
maxParallel: 4
2020-09-25 02:16:48 +03:00
matrix:
UWP:
ApplicationPlatform: UWP_x64
ArtifactName: UWP
Android:
ApplicationPlatform: Android
ArtifactName: Android
Packages:
ApplicationPlatform: Packages
GeneratePackageOnBuild: true
ArtifactName: Packages
2021-04-26 23:34:22 +03:00
Packages_WinUI:
ApplicationPlatform: Packages
GeneratePackageOnBuild: true
ArtifactName: Packages
UseWinUI: true
2020-09-25 02:16:48 +03:00
pool:
vmImage: windows-2019
2020-05-20 01:09:16 +03:00
2020-09-25 02:16:48 +03:00
steps:
- template: build/stage-build.yml
2020-09-25 02:16:48 +03:00
- job: MacOS # Build iOS/macOS
2021-08-26 22:53:04 +03:00
timeoutInMinutes: 90
2020-09-25 02:16:48 +03:00
strategy:
maxParallel: 2
matrix:
iOS:
ApplicationPlatform: iPhone
ArtifactName: iOS
macOS:
ApplicationPlatform: macOS
ArtifactName: macOS
pool:
vmImage: macOS-10.15
variables:
- name: SkipUnknownFrameworks
value: true # Used by TargetFrameworks.Filtering package
- group: apple.appstore.distribution # Variables for certificate
steps:
- task: InstallAppleCertificate@2
displayName: Install Apple Certificate
inputs:
certSecureFile: 'apple.appstore.distribution.p12' # Name of the p12 certificate
certPwd: '$(appleappstorecertificatepassword)'
keychain: 'temp'
deleteCert: true
- task: InstallAppleProvisioningProfile@1
displayName: 'Install Apple Provisioning Profile'
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: 'UnoMaterial.mobileprovision'
2020-07-30 22:55:57 +03:00
2020-09-25 02:16:48 +03:00
- template: build/stage-build.yml
2020-07-30 22:55:57 +03:00
2020-09-25 02:16:48 +03:00
- job: Linux
2020-05-20 01:09:16 +03:00
2020-09-25 02:16:48 +03:00
pool:
vmImage: 'ubuntu-18.04'
2020-09-25 02:16:48 +03:00
container: unoplatform/wasm-build:2.2
2020-07-30 22:55:57 +03:00
2020-09-25 02:16:48 +03:00
variables:
ArtifactName: WASM
SkipUnknownFrameworks: True
2020-07-30 22:55:57 +03:00
2020-09-25 02:16:48 +03:00
steps:
- template: build/stage-build-wasm.yml