@@ -35,27 +35,22 @@ jobs:
3535 - name : macOS unit test
3636 run : set -o pipefail && xcodebuild test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS -sdk macosx12.1 | xcpretty
3737
38- - name : Cocoapods iOS Empty project
38+ - name : Cocoapods - iOS Empty project
3939 run : set -o pipefail && cd TestProjects/cocoapods/ios && arch -x86_64 pod install && xcodebuild build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS -sdk iphonesimulator15.2 -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' | xcpretty && cd ../../..
4040
41- - name : Cocoapods macOS Empty project
41+ - name : Cocoapods - macOS Empty project
4242 run : set -o pipefail && cd TestProjects/cocoapods/macos && arch -x86_64 pod install && xcodebuild build -workspace PinLayout-macOS.xcworkspace -scheme PinLayout-macOS -sdk macosx12.1 | xcpretty && cd ../../..
4343
44- - name : Cocoapods tvOS Empty project
44+ - name : Cocoapods - tvOS Empty project
4545 run : set -o pipefail && cd TestProjects/cocoapods/tvos && arch -x86_64 pod install && 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 && cd ../../..
4646
47+ - name : Carthage - iOS Empty project
48+ run : set -o pipefail && cd TestProjects/carthage/ios && rm Cartfile && echo "git \"file:///$BASEDIR\"" > Cartfile && carthage update --use-ssh --platform iOS --use-xcframeworks && xcodebuild build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator15.2 -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' | xcpretty && rm Cartfile.resolved && cd ../../..
4749
48- - run : echo "🍏 This job's status is ${{ job.status }}."
50+ - name : Swift Package Manager - iOS Empty project
51+ run : set -o pipefail && cd TestProjects/swift-package-manager/ios && rm -rf .build && xcodebuild build -project PinLayout-SPM-iOS.xcodeproj -scheme PinLayout-SPM-iOS -sdk iphonesimulator15.2 -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' | xcpretty && cd ../../..
52+
53+ - name : Pod lib lint
54+ run : set -o pipefail && bundle exec pod lib lint --allow-warnings
4955
50- # Build:
51- # name: Test iOS
52- # runs-on: macOS-latest
53- # # strategy:
54- # # matrix:
55- # # destination: ["OS=13.1,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
56- # steps:
57- # - uses: actions/checkout@v2
58- # - run: ./build-ci.sh /tmp/PinLayout
59- # # - name: iOS - ${{ matrix.destination }}
60- # # run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
61- # - run: echo "🍏 This job's status is ${{ job.status }}."
56+ - run : echo "🍏 This job's status is ${{ job.status }}."
0 commit comments