Initial implementation #4
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
format: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: format | |
run: swiftformat . --lint --reporter github-actions-log | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: lint | |
uses: norio-nomura/[email protected] # Doesn't work on macOS. lol | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
xcodebuild \ | |
-project Ultravox \ | |
-scheme Ultravox \ | |
-sdk iphonesimulator \ | |
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=17.2' \ | |
build || exit 1 |