|
7 | 7 | set -o pipefail
|
8 | 8 | rm -rf $DERIVED_DATA
|
9 | 9 |
|
10 |
| -# echo "===============================" |
11 |
| -# echo "PinLayout-iOS" |
12 |
| -# echo "===============================" |
13 |
| -# xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-iOS \ |
14 |
| -# -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
15 |
| -# -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
16 |
| -# | xcpretty |
17 |
| - |
18 |
| -# echo "===============================" |
19 |
| -# echo "PinLayout-tvOS" |
20 |
| -# echo "===============================" |
21 |
| -# xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-tvOS \ |
22 |
| -# -derivedDataPath $DERIVED_DATA -sdk appletvsimulator15.2 \ |
23 |
| -# -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' \ |
24 |
| -# | xcpretty |
| 10 | +echo "===============================" |
| 11 | +echo "PinLayout-iOS" |
| 12 | +echo "===============================" |
| 13 | +xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-iOS \ |
| 14 | + -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
| 15 | + -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
| 16 | + | xcpretty |
25 | 17 |
|
26 |
| -# echo "===============================" |
27 |
| -# echo "PinLayout-macOS" |
28 |
| -# echo "===============================" |
29 |
| -# xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-macOS \ |
30 |
| -# -derivedDataPath $DERIVED_DATA -sdk macosx12.1 \ |
31 |
| -# | xcpretty |
32 |
| - |
33 |
| -# echo "===============================" |
34 |
| -# echo "PinLayoutSample" |
35 |
| -# echo "===============================" |
36 |
| -# xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \ |
37 |
| -# -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
38 |
| -# -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
39 |
| -# | xcpretty |
40 |
| - |
41 |
| -# xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \ |
42 |
| -# -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
43 |
| -# -destination 'platform=iOS Simulator,name=iPhone 8,OS=14.1' \ |
44 |
| -# | xcpretty |
45 |
| - |
46 |
| -# echo "===============================" |
47 |
| -# echo "iOS unit test" |
48 |
| -# echo "===============================" |
49 |
| -# xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \ |
50 |
| -# -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
51 |
| -# -destination 'platform=iOS Simulator,name=iPhone 8,OS=14.1' \ |
52 |
| -# | xcpretty |
53 |
| - |
54 |
| -# xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \ |
55 |
| -# -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
56 |
| -# -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
57 |
| -# | xcpretty |
| 18 | +echo "===============================" |
| 19 | +echo "PinLayout-tvOS" |
| 20 | +echo "===============================" |
| 21 | +xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-tvOS \ |
| 22 | + -derivedDataPath $DERIVED_DATA -sdk appletvsimulator15.2 \ |
| 23 | + -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' \ |
| 24 | + | xcpretty |
| 25 | + |
| 26 | +echo "===============================" |
| 27 | +echo "PinLayout-macOS" |
| 28 | +echo "===============================" |
| 29 | +xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-macOS \ |
| 30 | + -derivedDataPath $DERIVED_DATA -sdk macosx12.1 \ |
| 31 | + | xcpretty |
| 32 | + |
| 33 | +echo "===============================" |
| 34 | +echo "PinLayoutSample" |
| 35 | +echo "===============================" |
| 36 | +xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \ |
| 37 | + -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
| 38 | + -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
| 39 | + | xcpretty |
| 40 | + |
| 41 | +xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \ |
| 42 | + -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
| 43 | + -destination 'platform=iOS Simulator,name=iPhone 8,OS=14.1' \ |
| 44 | + | xcpretty |
| 45 | + |
| 46 | +echo "===============================" |
| 47 | +echo "iOS unit test" |
| 48 | +echo "===============================" |
| 49 | +xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \ |
| 50 | + -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
| 51 | + -destination 'platform=iOS Simulator,name=iPhone 8,OS=14.1' \ |
| 52 | + | xcpretty |
| 53 | + |
| 54 | +xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \ |
| 55 | + -derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \ |
| 56 | + -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \ |
| 57 | + | xcpretty |
58 | 58 |
|
59 | 59 | # echo "==============================="
|
60 | 60 | # echo "tvOS unit test"
|
|
0 commit comments