Update project and installation methods (CocoaPods and Swift Package Manager) for Xcode 15 #311
Workflow file for this run
This file contains 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: | |
- master | |
- 'releases/*' | |
pull_request: | |
branches: | |
- master | |
env: | |
# Use Xcode 15.2 or newer to support VisionOS | |
DEVELOPER_DIR: /Applications/Xcode_15.2.app | |
jobs: | |
test: | |
name: Test | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
platform: ['iOS Simulator,name=iPhone 15'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: make test | |
analyze: | |
name: Analyze | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: analyze | |
run: make analyze | |
cocoapods: | |
name: CocoaPods | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint | |
run: make cocoapods | |
carthage: | |
name: Carthage | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: carthage | |
run: make carthage | |
swift-package-manager: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Verify that PINCache can be built by SPM | |
run: make spm | |
xcode-spm-integration: | |
name: Build iOS example project | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Check Xcode's spm integration | |
run: make example |