-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[d16-7] Merge Xcode11.5 Support and include provisionator changes (#8645
) New commits in xamarin/maccore: * xamarin/maccore@ef861db73e [devops] Enhance Xcode renaming script (#2208) Diff: https://github.com/xamarin/maccore/compare/92a06f73033c07fe97735c1fa10e2fa0a9222c79..ef861db73e7c0f74131d08d5afa64841d6b00e0b
- Loading branch information
Showing
13 changed files
with
151 additions
and
74 deletions.
There are no files selected for viewing
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
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,65 @@ | ||
!missing-enum! ENAuthorizationStatus not bound | ||
!missing-enum! ENErrorCode not bound | ||
!missing-enum! ENStatus not bound | ||
!missing-field! ENErrorDomain not bound | ||
!missing-selector! +ENManager::authorizationStatus not bound | ||
!missing-selector! ENExposureConfiguration::attenuationLevelValues not bound | ||
!missing-selector! ENExposureConfiguration::attenuationWeight not bound | ||
!missing-selector! ENExposureConfiguration::daysSinceLastExposureLevelValues not bound | ||
!missing-selector! ENExposureConfiguration::daysSinceLastExposureWeight not bound | ||
!missing-selector! ENExposureConfiguration::durationLevelValues not bound | ||
!missing-selector! ENExposureConfiguration::durationWeight not bound | ||
!missing-selector! ENExposureConfiguration::metadata not bound | ||
!missing-selector! ENExposureConfiguration::minimumRiskScore not bound | ||
!missing-selector! ENExposureConfiguration::setAttenuationLevelValues: not bound | ||
!missing-selector! ENExposureConfiguration::setAttenuationWeight: not bound | ||
!missing-selector! ENExposureConfiguration::setDaysSinceLastExposureLevelValues: not bound | ||
!missing-selector! ENExposureConfiguration::setDaysSinceLastExposureWeight: not bound | ||
!missing-selector! ENExposureConfiguration::setDurationLevelValues: not bound | ||
!missing-selector! ENExposureConfiguration::setDurationWeight: not bound | ||
!missing-selector! ENExposureConfiguration::setMetadata: not bound | ||
!missing-selector! ENExposureConfiguration::setMinimumRiskScore: not bound | ||
!missing-selector! ENExposureConfiguration::setTransmissionRiskLevelValues: not bound | ||
!missing-selector! ENExposureConfiguration::setTransmissionRiskWeight: not bound | ||
!missing-selector! ENExposureConfiguration::transmissionRiskLevelValues not bound | ||
!missing-selector! ENExposureConfiguration::transmissionRiskWeight not bound | ||
!missing-selector! ENExposureDetectionSummary::attenuationDurations not bound | ||
!missing-selector! ENExposureDetectionSummary::daysSinceLastExposure not bound | ||
!missing-selector! ENExposureDetectionSummary::matchedKeyCount not bound | ||
!missing-selector! ENExposureDetectionSummary::maximumRiskScore not bound | ||
!missing-selector! ENExposureDetectionSummary::metadata not bound | ||
!missing-selector! ENExposureDetectionSummary::setAttenuationDurations: not bound | ||
!missing-selector! ENExposureInfo::attenuationDurations not bound | ||
!missing-selector! ENExposureInfo::attenuationValue not bound | ||
!missing-selector! ENExposureInfo::date not bound | ||
!missing-selector! ENExposureInfo::duration not bound | ||
!missing-selector! ENExposureInfo::metadata not bound | ||
!missing-selector! ENExposureInfo::setAttenuationDurations: not bound | ||
!missing-selector! ENExposureInfo::totalRiskScore not bound | ||
!missing-selector! ENExposureInfo::transmissionRiskLevel not bound | ||
!missing-selector! ENManager::activateWithCompletionHandler: not bound | ||
!missing-selector! ENManager::detectExposuresWithConfiguration:diagnosisKeyURLs:completionHandler: not bound | ||
!missing-selector! ENManager::dispatchQueue not bound | ||
!missing-selector! ENManager::exposureNotificationEnabled not bound | ||
!missing-selector! ENManager::exposureNotificationStatus not bound | ||
!missing-selector! ENManager::getDiagnosisKeysWithCompletionHandler: not bound | ||
!missing-selector! ENManager::getExposureInfoFromSummary:userExplanation:completionHandler: not bound | ||
!missing-selector! ENManager::getTestDiagnosisKeysWithCompletionHandler: not bound | ||
!missing-selector! ENManager::invalidate not bound | ||
!missing-selector! ENManager::invalidationHandler not bound | ||
!missing-selector! ENManager::setDispatchQueue: not bound | ||
!missing-selector! ENManager::setExposureNotificationEnabled:completionHandler: not bound | ||
!missing-selector! ENManager::setInvalidationHandler: not bound | ||
!missing-selector! ENTemporaryExposureKey::keyData not bound | ||
!missing-selector! ENTemporaryExposureKey::rollingPeriod not bound | ||
!missing-selector! ENTemporaryExposureKey::rollingStartNumber not bound | ||
!missing-selector! ENTemporaryExposureKey::setKeyData: not bound | ||
!missing-selector! ENTemporaryExposureKey::setRollingPeriod: not bound | ||
!missing-selector! ENTemporaryExposureKey::setRollingStartNumber: not bound | ||
!missing-selector! ENTemporaryExposureKey::setTransmissionRiskLevel: not bound | ||
!missing-selector! ENTemporaryExposureKey::transmissionRiskLevel not bound | ||
!missing-type! ENExposureConfiguration not bound | ||
!missing-type! ENExposureDetectionSummary not bound | ||
!missing-type! ENExposureInfo not bound | ||
!missing-type! ENManager not bound | ||
!missing-type! ENTemporaryExposureKey not bound |
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,10 @@ | ||
TOP=../.. | ||
include $(TOP)/Make.config | ||
|
||
device-tests-provisioning.csx: device-tests-provisioning.csx.in Makefile $(TOP)/Make.config | ||
$(Q_GEN) sed \ | ||
-e 's#@XCODE_XIP_NAME@#$(notdir $(XCODE_URL))#g' \ | ||
-e 's#@XI_PACKAGE@#$(XI_PACKAGE)#g' \ | ||
-e 's#@MONO_PACKAGE@#$(MIN_MONO_URL)#g' \ | ||
-e 's#@VS_PACKAGE@#$(MIN_VISUAL_STUDIO_URL)#g' \ | ||
$< > $@; |
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,47 @@ | ||
#r "_provisionator/provisionator.dll" | ||
|
||
using System.IO; | ||
using System.Reflection; | ||
using System.Linq; | ||
|
||
using static Xamarin.Provisioning.ProvisioningScript; | ||
|
||
// Provision Xcode using the xip name declared in Make.config | ||
var xcodeItem = GetXcodeItem ("@XCODE_XIP_NAME@"); | ||
Item (xcodeItem).XcodeSelect (allowUntrusted: true); | ||
|
||
// provisionator knows how to deal with this items | ||
Item ("@MONO_PACKAGE@"); | ||
Item ("@VS_PACKAGE@"); | ||
Item ("@XI_PACKAGE@"); | ||
|
||
BrewPackage ("p7zip"); | ||
|
||
void BrewPackage (string name) | ||
{ | ||
// Assumes brew is already installed. | ||
// All Macs provisioned by Xamarin, VSEng, or DDFUN should have brew by default! | ||
Item (name).Action (i => Exec ("brew", "install", i.Name)); | ||
} | ||
|
||
XreItem GetXcodeItem (string xipFileName) | ||
{ | ||
var items = (XreItem []) Enum.GetValues (typeof (XreItem)); | ||
var xreItemType = typeof (XreItem); | ||
var itemAttrType = typeof (Xamarin.Provisioning.Model.ItemAttribute); | ||
|
||
foreach (var item in items) { | ||
var attr = xreItemType | ||
.GetField (item.ToString ()) | ||
.GetCustomAttributes (itemAttrType, false) | ||
?.Cast<Xamarin.Provisioning.Model.ItemAttribute> () | ||
.FirstOrDefault (a => a.Uri.EndsWith (xipFileName, StringComparison.Ordinal)); | ||
|
||
if (attr == null) | ||
continue; | ||
|
||
return item; | ||
} | ||
|
||
throw new Xamarin.Provisioning.ProvisioningException ($"'{xipFileName}' not found in 'XreItem' members."); | ||
} |
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 was deleted.
Oops, something went wrong.
1614d56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Jenkins job (on internal Jenkins) succeeded
✅ Build succeeded
✅ Packages:
✅ API Diff (from stable)
⚠️ API Diff (from PR only) (🔥 breaking changes 🔥)
ℹ️ Generator Diff (please review changes)
✅ Test run succeeded