Remove CocoaPods and Carthage support, modernize to Swift Package Manager only #11
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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| env: | |
| LC_CTYPE: en_US.UTF-8 | |
| LANG: en_US.UTF-8 | |
| jobs: | |
| test: | |
| name: Test on iOS | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| destination: | |
| - "OS=18.0,name=iPhone 15" | |
| - "OS=17.4,name=iPhone 14" | |
| - "OS=16.4,name=iPhone 12" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '16.4' | |
| - name: Install xcpretty | |
| run: gem install xcpretty | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: Show available simulators | |
| run: xcrun simctl list devices available | |
| - name: Test Swift Package | |
| run: | | |
| set -o pipefail | |
| xcodebuild test \ | |
| -scheme FDTake \ | |
| -destination "${{ matrix.destination }}" | xcpretty | |