Use concrete destinations #36
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: Xcode Build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build Package | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
destination: | |
- platform=macOS | |
- platform=macOS,variant=Mac Catalyst | |
- name=iPhone 14 | |
- name=Apple TV | |
- name=Apple Watch Series 8 - 44mm | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
xcodebuild \ | |
-scheme UIImageColors-Package \ | |
-destination '${{ matrix.destination }}' | |
- name: Test | |
run: | | |
xcodebuild \ | |
-scheme UIImageColors-Package \ | |
-destination '${{ matrix.destination }}' \ | |
test |