Migrate off CocoaPods #5
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
| on: | |
| pull_request: | |
| paths: | |
| - 'functions/**' | |
| - '.github/workflows/functions.yml' | |
| name: Functions | |
| jobs: | |
| swift-build: | |
| name: Swift build | |
| runs-on: macOS-latest | |
| strategy: | |
| matrix: | |
| destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Build Swift snippets | |
| run: | | |
| cd functions | |
| xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
| env: | |
| destination: ${{ matrix.destination }} | |
| objc-build: | |
| name: ObjC build | |
| runs-on: macOS-latest | |
| strategy: | |
| matrix: | |
| destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Build ObjC snippets | |
| run: | | |
| cd functions | |
| xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
| env: | |
| destination: ${{ matrix.destination }} |