Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Microsoft Authentication helper for macOS #19

Merged
merged 3 commits into from
Feb 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,7 @@ ASALocalRun/

# macOS Finder files
.DS_Store

# GCM build output
out/

23 changes: 23 additions & 0 deletions build/templates/build-and-test.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,26 @@ steps:
publishTestResults: true
#testRunTitle: 'Common unit tests (macOS)' # option not yet available
continueOnError: true

- task: CocoaPods@0
displayName: Install CocoaPods for Microsoft Authentication helper
inputs:
projectDirectory: 'macos/Microsoft.Authentication.Helper'

- task: Xcode@5
displayName: Compile Microsoft Authentication helper
inputs:
xcWorkspacePath: 'macos/Microsoft.Authentication.Helper/Microsoft.Authentication.Helper.xcworkspace'
configuration: $(configuration)
scheme: 'Microsoft.Authentication.Helper'
sdk: macosx

- script: 'macos/installer/build-installer.sh --configuration=$(configuration) --version=1.0'
displayName: Build installer package
failOnStderr: true

- task: PublishPipelineArtifact@0
displayName: Publish installer package
inputs:
artifactName: 'macOS Installer'
targetPath: 'out/macos/installer/'
66 changes: 66 additions & 0 deletions macos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
Loading