Consistent Code Style #93
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: iOS | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
format: | |
runs-on: macos-14 | |
steps: | |
- name: Install tools | |
run: brew install swiftlint | |
- name: Checkout maplibre-swiftui-dsl-playground | |
uses: actions/checkout@v4 | |
- name: Check format | |
run: swiftlint lint . --reporter github-actions-logging | |
test: | |
name: Build and Test using Xcode 15.3 on iPhone 15 Pro | |
runs-on: macos-14 | |
steps: | |
- name: Install tools | |
run: brew install xcbeautify | |
- name: Setup Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: set -o pipefail && xcodebuild build -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' | xcbeautify --renderer github-actions | |
- name: Test | |
run: set -o pipefail && xcodebuild test -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' | xcbeautify --renderer github-actions |