Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Build Example Project" to CI #77

Merged
merged 3 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
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
run: set -o pipefail && xcodebuild build -scheme maplibre-navigation-ios -destination 'generic/platform=iOS' | 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
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

- name: Build Example Project
run: set -o pipefail && xcodebuild build -project Example/Example.xcodeproj -scheme Example -destination 'generic/platform=iOS' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcbeautify --renderer github-actions
2 changes: 1 addition & 1 deletion Example/example/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private extension SceneDelegate {
let simulatedLocationManager = SimulatedLocationManager(route: route)
simulatedLocationManager.speedMultiplier = 2

self.viewController.startNavigation(with: route, locationManager: simulatedLocationManager)
self.viewController.startNavigation(with: route, animated: true, locationManager: simulatedLocationManager)
}
}

Expand Down
Loading