Update README #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CHTCollectionViewWaterfallLayout CI" | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| Demo: | |
| name: Demo Project (Latest Stable Xcode) | |
| runs-on: macOS-11 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1.4.0 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Build Swift Project | |
| uses: sersoft-gmbh/xcodebuild-action@v1.8.0 | |
| with: | |
| project: Demo/Swift/CHTWaterfallSwiftDemo.xcodeproj | |
| scheme: CHTWaterfallSwiftDemo | |
| destination: name=iPhone 13 Pro | |
| action: build | |
| - name: Build Swift SPM Project | |
| uses: sersoft-gmbh/xcodebuild-action@v1.8.0 | |
| with: | |
| project: Demo/Swift/CHTWaterfallSwiftDemo.xcodeproj | |
| scheme: CHTWaterfallSwiftSPMDemo | |
| destination: name=iPhone 13 Pro | |
| action: build | |
| - name: Build Objective-C Project | |
| uses: sersoft-gmbh/xcodebuild-action@v1.8.0 | |
| with: | |
| project: Demo/Objective-C/Demo.xcodeproj | |
| scheme: Demo | |
| destination: name=iPhone 13 Pro | |
| action: build | |
| - name: Build Objective-C SPM Project | |
| uses: sersoft-gmbh/xcodebuild-action@v1.8.0 | |
| with: | |
| project: Demo/Objective-C/Demo.xcodeproj | |
| scheme: SPMDemo | |
| destination: name=iPhone 13 Pro | |
| action: build | |
| Pods: | |
| name: Cocoapods Lint (Latest Stable Xcode) | |
| runs-on: macOS-11 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1.4.0 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Run pod lib lint dynamic-framework | |
| run: pod lib lint --fail-fast | |
| - name: Run pod lib lint static-framework | |
| run: pod lib lint --fail-fast --use-libraries --use-modular-headers | |
| SwiftPM: | |
| name: SwiftPM (Latest Stable Xcode) | |
| runs-on: macOS-11 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1.4.0 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Build Swift Version | |
| run: xcodebuild -scheme CHTCollectionViewWaterfallLayout -destination generic/platform=iOS | |
| - name: Build ObjC Version | |
| run: xcodebuild -scheme CHTCollectionViewWaterfallLayoutObjC -destination generic/platform=iOS |