File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,36 @@ sample="$1"
2222platform=" ${2-} "
2323
2424# Source function to check if CI secrets are available.
25- source scripts/check_secrets.sh
25+ source scripts/check_secrets.sh
2626
2727if check_secrets; then
2828 cd quickstart-ios
2929 if [ " $platform " = " swift" ]; then
30- have_secrets=true SAMPLE=" $sample " SWIFT_SUFFIX=" Swift" ./scripts/test.sh
30+ have_secrets=true SAMPLE=" $sample " SWIFT_SUFFIX=" Swift" # ./scripts/test.sh
31+
32+ (xcodebuild \
33+ -workspace ${SAMPLE} /${SAMPLE} Example.xcworkspace \
34+ -scheme ${SAMPLE} Example${SWIFT_SUFFIX} \
35+ -sdk iphonesimulator \
36+ -destination ' platform=iOS Simulator,name=iPhone 11' \
37+ build \
38+ test \
39+ ONLY_ACTIVE_ARCH=YES \
40+ )
3141 else
32- have_secrets=true SAMPLE=" $sample " ./scripts/test.sh
42+ have_secrets=true SAMPLE=" $sample " # ./scripts/test.sh
43+
44+ (xcodebuild \
45+ -workspace ${SAMPLE} /${SAMPLE} Example.xcworkspace \
46+ -scheme ${SAMPLE} Example${SWIFT_SUFFIX} \
47+ -sdk iphonesimulator \
48+ -destination ' platform=iOS Simulator,name=iPhone 11' \
49+ build \
50+ test \
51+ ONLY_ACTIVE_ARCH=YES \
52+ )
3353 fi
3454
3555fi
56+
57+
You can’t perform that action at this time.
0 commit comments