-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1347 from AzureAD/release/1.1.20
Merge Release/1.1.20 into master
- Loading branch information
Showing
13 changed files
with
122 additions
and
63 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule IdentityCore
updated
33 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Pipeline will be triggered for PR & any updates on the PR on all branches | ||
pr: | ||
autoCancel: true | ||
branches: | ||
include: | ||
- '*' | ||
drafts: true | ||
|
||
# Not triggering for CI since it is triggered for PRs | ||
trigger: none | ||
|
||
# Define parallel jobs that run build script for specified targets | ||
jobs: | ||
- job: 'Validate_Pull_Request' | ||
strategy: | ||
maxParallel: 2 | ||
matrix: | ||
IOS_FRAMEWORK: | ||
target: "iosFramework iosTestApp sampleIosApp sampleIosAppSwift" | ||
MAC_FRAMEWORK: | ||
target: "macFramework" | ||
displayName: Validate Pull Request | ||
pool: | ||
vmImage: 'macOS-latest' | ||
timeOutInMinutes: 30 | ||
|
||
steps: | ||
- task: CmdLine@2 | ||
displayName: Installing dependencies | ||
inputs: | ||
script: | | ||
gem install xcpretty slather -N | ||
failOnStderr: true | ||
- checkout: self | ||
clean: true | ||
submodules: true | ||
fetchDepth: 1 | ||
persistCredentials: false | ||
- task: Bash@3 | ||
displayName: Removing any lingering codecov files. These can cause issues when the xcode version changes | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
find . -name "*.gcda" -print0 | xargs -0 rm | ||
- task: Bash@3 | ||
displayName: Run Build script & check for Errors | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
{ output=$(./build.py --target $(target) 2>&1 1>&3-) ;} 3>&1 | ||
final_status=$(<./build/status.txt) | ||
echo "FINAL STATUS = ${final_status}" | ||
echo "POSSIBLE ERRORS: ${output}" | ||
if [ $final_status != "0" ]; then | ||
echo "Build & Testing Failed! \n ${output}" >&2 | ||
fi | ||
failOnStderr: true | ||
- task: Bash@3 | ||
condition: always() | ||
displayName: Cleanup | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
rm -rf ./build/status.txt | ||
- task: PublishTestResults@2 | ||
condition: always() | ||
displayName: Publish Test Report | ||
inputs: | ||
testResultsFormat: 'JUnit' | ||
testResultsFiles: '$(Agent.BuildDirectory)/s/build/reports/*' | ||
failTaskOnFailedTests: true | ||
testRunTitle: 'Test Run - $(target)' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
#!/bin/bash | ||
gem install jazzy | ||
echo -e "Copying MSAL public files" | ||
mkdir docs.temp | ||
mkdir docs.temp/MSAL | ||
cp `find MSAL/src/public` docs.temp/MSAL | ||
cp README.md docs.temp/ | ||
cd docs.temp | ||
echo -e "Generating MSAL documentation" | ||
jazzy --objc --umbrella-header MSAL/MSAL.h --framework-root . --sdk iphonesimulator --author Microsoft\ Corporation --author_url https://aka.ms/azuread --github_url https://github.com/AzureAD/microsoft-authentication-library-for-objc --theme fullwidth | ||
|
||
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] | ||
then | ||
gem install jazzy | ||
echo -e "Copying MSAL public files" | ||
mkdir docs.temp | ||
mkdir docs.temp/MSAL | ||
cp `find MSAL/src/public` docs.temp/MSAL | ||
cp README.md docs.temp/ | ||
cd docs.temp | ||
echo -e "Generating MSAL documentation" | ||
jazzy --objc --umbrella-header MSAL/MSAL.h --framework-root . --sdk iphonesimulator --author Microsoft\ Corporation --author_url https://aka.ms/azuread --github_url https://github.com/AzureAD/microsoft-authentication-library-for-objc --theme fullwidth | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters