File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 26
26
displayName : ' Install dependencies'
27
27
28
28
- script : |
29
+ rm -R ../react-native-azurenotificationhub-sample/node_modules/react-native-azurenotificationhub
29
30
cp -R ../react-native-azurenotificationhub ../react-native-azurenotificationhub-sample/node_modules
30
31
displayName : ' Copying react-native-azurenotificationhub'
31
32
@@ -36,8 +37,27 @@ steps:
36
37
displayName : ' Run unit tests'
37
38
38
39
- task : Gradle@2
40
+ displayName : ' Building Android'
39
41
inputs :
40
42
workingDirectory : ' ../react-native-azurenotificationhub-sample/android'
41
43
gradleWrapperFile : ' ../react-native-azurenotificationhub-sample/android/gradlew'
42
44
tasks : ' assembleRelease'
43
45
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