diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c2d087be..edcaf60b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -63,6 +63,28 @@ jobs: artifactName: 'pros_cli-$(Build.BuildNumber)-macos-$(buildArch)' targetPath: 'out' +- job: macOSM1 + timeoutInMinutes: 30 + dependsOn: UpdateBuildNumber + strategy: + maxParallel: 2 + matrix: + arm64: + buildArch: arm64 + pool: + M1 Mac + steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: $(python.version) + architecture: $(buildArch) + - bash: scripts/build.sh + displayName: Build + - task: PublishPipelineArtifact@0 + inputs: + artifactName: 'pros_cli-$(Build.BuildNumber)-macos-$(buildArch)' + targetPath: 'out' + - job: Linux timeoutInMinutes: 30 dependsOn: UpdateBuildNumber