File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 displayName : ' Install dependencies'
2727
2828- script : |
29+ rm -R ../react-native-azurenotificationhub-sample/node_modules/react-native-azurenotificationhub
2930 cp -R ../react-native-azurenotificationhub ../react-native-azurenotificationhub-sample/node_modules
3031 displayName : ' Copying react-native-azurenotificationhub'
3132
@@ -36,8 +37,27 @@ steps:
3637 displayName : ' Run unit tests'
3738
3839- task : Gradle@2
40+ displayName : ' Building Android'
3941 inputs :
4042 workingDirectory : ' ../react-native-azurenotificationhub-sample/android'
4143 gradleWrapperFile : ' ../react-native-azurenotificationhub-sample/android/gradlew'
4244 tasks : ' assembleRelease'
4345 continueOnError : false
46+
47+ - script : |
48+ cd ../react-native-azurenotificationhub-sample/ios
49+ pod install
50+ sudo cp -R ../node_modules/react-native-azurenotificationhub/ios Pods/RNAzureNotificationHub
51+ displayName : ' Install CocoaPods dependencies'
52+
53+ - task : Xcode@5
54+ displayName : ' Building iOS'
55+ inputs :
56+ actions : ' build'
57+ scheme : ' ReactNativeAzureNotificationHubSample'
58+ sdk : ' iphoneos'
59+ configuration : ' Release'
60+ xcWorkspacePath : ' ../react-native-azurenotificationhub-sample/ios/ReactNativeAzureNotificationHubSample.xcworkspace'
61+ xcodeVersion : ' 10'
62+ signingOption : ' nosign'
63+ useXcpretty : ' false'
You can’t perform that action at this time.
0 commit comments