Skip to content

Commit a550f0c

Browse files
committed
Update Azure Pipelines YAML to build macOS msauth helper
Update the Azure Pipelines YAML for macOS to build the Microsoft Authentication helper using Xcode and also build & publish the installer package.
1 parent 1042b0d commit a550f0c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

build/templates/build-and-test.macos.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,26 @@ steps:
2121
publishTestResults: true
2222
#testRunTitle: 'Common unit tests (macOS)' # option not yet available
2323
continueOnError: true
24+
25+
- task: CocoaPods@0
26+
displayName: Install CocoaPods for Microsoft Authentication helper
27+
inputs:
28+
projectDirectory: 'macos/Microsoft.Authentication.Helper'
29+
30+
- task: Xcode@5
31+
displayName: Compile Microsoft Authentication helper
32+
inputs:
33+
xcWorkspacePath: 'macos/Microsoft.Authentication.Helper/Microsoft.Authentication.Helper.xcworkspace'
34+
configuration: $(configuration)
35+
scheme: 'Microsoft.Authentication.Helper'
36+
sdk: macosx
37+
38+
- script: 'macos/installer/build-installer.sh --configuration=$(configuration) --version=1.0'
39+
displayName: Build installer package
40+
failOnStderr: true
41+
42+
- task: PublishPipelineArtifact@0
43+
displayName: Publish installer package
44+
inputs:
45+
artifactName: 'macOS Installer'
46+
targetPath: 'out/macos/installer/'

0 commit comments

Comments
 (0)