18
18
- TVOS_SCHEME="FastEasyMapping tvOS"
19
19
- WATCHOS_SCHEME="FastEasyMapping watchOS"
20
20
21
- - IOS_SDK=iphonesimulator13.2
22
- - MACOS_SDK=macosx10.15
23
- - TVOS_SDK=appletvsimulator13.2
24
- - WATCHOS_SDK=watchsimulator6.1
25
-
26
21
matrix :
27
- - SCHEME="$IOS_SCHEME" SDK="$IOS_SDK" DESTINATION="OS=11.4,name=iPhone 6"
28
- - SCHEME="$IOS_SCHEME" SDK="$IOS_SDK" DESTINATION="OS=12.1,name=iPhone SE"
29
- - SCHEME="$IOS_SCHEME" SDK="$IOS_SDK" DESTINATION="OS=13.2.2,name=iPhone 8"
22
+ - SCHEME="$IOS_SCHEME" DESTINATION="OS=11.4,name=iPhone 6"
23
+ - SCHEME="$IOS_SCHEME" DESTINATION="OS=12.1,name=iPhone SE"
24
+ - SCHEME="$IOS_SCHEME" DESTINATION="OS=13.2.2,name=iPhone 8"
30
25
31
- - SCHEME="$MACOS_SCHEME" SDK="$MACOS_SDK" DESTINATION="arch=x86_64"
26
+ - SCHEME="$MACOS_SCHEME" DESTINATION="arch=x86_64"
32
27
33
- - SCHEME="$TVOS_SCHEME" SDK="$TVOS_SDK" DESTINATION="OS=12.1,name=Apple TV 4K (at 1080p)" RUN_TESTS="NO"
34
- - SCHEME="$TVOS_SCHEME" SDK="$TVOS_SDK" DESTINATION="OS=13.2,name=Apple TV 4K (at 1080p)" RUN_TESTS="NO"
28
+ - SCHEME="$TVOS_SCHEME" DESTINATION="OS=12.1,name=Apple TV 4K (at 1080p)" RUN_TESTS="NO"
29
+ - SCHEME="$TVOS_SCHEME" DESTINATION="OS=13.2,name=Apple TV 4K (at 1080p)" RUN_TESTS="NO"
35
30
36
- - SCHEME="$WATCHOS_SCHEME" SDK="$WATCHOS_SDK" DESTINATION="OS=5.1,name=Apple Watch Series 2 - 38mm" RUN_TESTS="NO"
37
- - SCHEME="$WATCHOS_SCHEME" SDK="$WATCHOS_SDK" DESTINATION="OS=6.1,name=Apple Watch Series 5 - 44mm" RUN_TESTS="NO"
31
+ - SCHEME="$WATCHOS_SCHEME" DESTINATION="OS=5.1,name=Apple Watch Series 2 - 38mm" RUN_TESTS="NO"
32
+ - SCHEME="$WATCHOS_SCHEME" DESTINATION="OS=6.1,name=Apple Watch Series 5 - 44mm" RUN_TESTS="NO"
38
33
39
34
script :
40
35
- set -o pipefail
@@ -45,19 +40,19 @@ script:
45
40
# Build Framework in Debug and Run Tests if specified
46
41
- |
47
42
if [ $RUN_TESTS == "YES" ]; then
48
- xcodebuild build-for-testing -configuration Debug -enableCodeCoverage YES -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
49
- xcodebuild test-without-building -configuration Debug -enableCodeCoverage YES -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
43
+ xcodebuild build-for-testing -configuration Debug -enableCodeCoverage YES -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
44
+ xcodebuild test-without-building -configuration Debug -enableCodeCoverage YES -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
50
45
else
51
- xcodebuild build -configuration Debug -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
46
+ xcodebuild build -configuration Debug -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
52
47
fi;
53
48
54
49
# Build Framework in Release and Run Tests if specified
55
50
- |
56
51
if [ $RUN_TESTS == "YES" ]; then
57
- xcodebuild build-for-testing -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
58
- xcodebuild test-without-building -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
52
+ xcodebuild build-for-testing -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
53
+ xcodebuild test-without-building -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
59
54
else
60
- xcodebuild build -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" - destination "$DESTINATION" | xcpretty
55
+ xcodebuild build -configuration Release -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
61
56
fi
62
57
63
58
after_success :
0 commit comments