@@ -32,14 +32,63 @@ jobs:
3232 - name : tvOS unit test
3333 run : set -o pipefail && xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS -sdk appletvos15.2 -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2 | xcpretty
3434
35+ - name : macOS unit test
36+ run : set -o pipefail && xcodebuild test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS -sdk macosx12.1 | xcpretty
3537
38+ - name : Cocoapods iOS Empty project
39+ run : cd TestProjects/cocoapods/ios
40+ run : arch -x86_64 pod install
41+ run : set -o pipefail && xcodebuild build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS -sdk iphonesimulator15.2 -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' | xcpretty
42+ run : cd ../../..
43+
44+ - name : Cocoapods macOS Empty project
45+ run : cd TestProjects/cocoapods/macos
46+ run : arch -x86_64 pod install
47+ run : set -o pipefail && xcodebuild build -workspace PinLayout-macOS.xcworkspace -scheme PinLayout-macOS -sdk macosx12.1 | xcpretty
48+ run : cd ../../..
49+
50+ - name : Cocoapods tvOS Empty project
51+ run : cd TestProjects/cocoapods/tvos
52+ run : arch -x86_64 pod install
53+ run : set -o pipefail && xcodebuild build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS -sdk appletvsimulator15.2 -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' | xcpretty
54+ run : cd ../../..
55+
56+
57+ # echo "==============================="
58+ # echo " Carthage: iOS Empty project"
59+ # echo "==============================="
60+ # cd TestProjects/carthage/ios
61+ # rm -rf $DERIVED_DATA
62+ # rm Cartfile
63+ # echo "git \"file:///$BASEDIR\"" > Cartfile
64+ # carthage update --use-ssh --platform iOS --use-xcframeworks
65+ # xcodebuild build -project PinLayout-Carthage-iOS.xcodeproj \
66+ # -scheme PinLayout-Carthage-iOS -sdk iphonesimulator15.2 \
67+ # -derivedDataPath $DERIVED_DATA \
68+ # -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
69+ # | xcpretty
70+ # rm -rf $DERIVED_DATA
71+ # rm Cartfile.resolved
72+ # cd ../../..
73+
74+
75+ # echo "=========================================="
76+ # echo " Swift Package Manager: iOS Empty project "
77+ # echo "=========================================="
78+ # cd TestProjects/swift-package-manager/ios
79+ # rm -rf $DERIVED_DATA
80+ # rm -rf .build
81+ # xcodebuild build -project PinLayout-SPM-iOS.xcodeproj -scheme PinLayout-SPM-iOS -sdk iphonesimulator15.2 -derivedDataPath $DERIVED_DATA \
82+ # -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
83+ # | xcpretty
84+ # cd ../../..
85+
86+
87+ # echo "==============================="
88+ # echo " Pod lib lint"
89+ # echo "==============================="
90+ # bundle exec pod lib lint --allow-warnings
3691
37- # echo "==============================="
38- # echo "macOS unit test"
39- # echo "==============================="
40- # xcodebuild test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS \
41- # -derivedDataPath $DERIVED_DATA -sdk macosx12.1 \
42- # | xcpretty
4392
4493 - run : echo "🍏 This job's status is ${{ job.status }}."
4594
0 commit comments