Skip to content

Commit

Permalink
Merge pull request #789 from mapbox/s2ler/fix-breaking-change
Browse files Browse the repository at this point in the history
Fix breaking changes + improve detection
  • Loading branch information
S2Ler authored Jan 20, 2023
2 parents b5c5a89 + ab72877 commit 5df1b7b
Show file tree
Hide file tree
Showing 23 changed files with 945 additions and 1,516 deletions.
30 changes: 27 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
steps:
- checkout
- run: swift build

carthage-integration-test:
parameters:
xcode:
Expand All @@ -185,7 +185,7 @@ jobs:
- run:
name: "Create integration Cartfile"
command: |
echo 'github "mapbox/mapbox-directions-swift"' \"$CIRCLE_SHA1\" > Cartfile
echo 'github "mapbox/mapbox-directions-swift"' \"$CIRCLE_SHA1\" > Cartfile
- run:
name: "Build"
command: |
Expand Down Expand Up @@ -341,6 +341,27 @@ jobs:
- *save-cache-podmaster
- *save-cache-gems

integration-test-with-navigation-sdk:
parameters:
xcode:
type: string
macos:
xcode: << parameters.xcode >>
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- install-mapbox-token
- *prepare-netrc-file
- run:
name: "Build IntegrationWithNavigationSDK"
command: |
cd ..
mv project mapbox-directions-swift
cd mapbox-directions-swift/IntegrationWithNavigationSDK
mv MapboxNavigationSwiftUI.xcodeproj.disabled MapboxNavigationSwiftUI.xcodeproj
xcodebuild -resolvePackageDependencies
xcodebuild -scheme MapboxNavigationSwiftUI -destination 'generic/platform=iOS Simulator' -sdk iphonesimulator -configuration Release
workflows:
workflow:
jobs:
Expand All @@ -359,11 +380,14 @@ workflows:
xcode: "13.3.1"
- spm-job:
name: "SPM build 14.0.0"
xcode: "14.0.0"
xcode: "14.1.0"
- spm-linux-job:
name: "SPM Ubuntu build"
- example-app-build:
name: "Build example app"
- integration-test-with-navigation-sdk:
name: "Integration Test With Navigation SDK"
xcode: "14.2.0"
- publish-documentation:
name: "Publish Documentation"
filters:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ Carthage/Checkouts
.build
.vscode

vendor/bundle/ruby/
vendor/bundle/ruby/
IntegrationWithNavigationSDK/MapboxNavigationSwiftUI.xcodeproj.disabled/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Loading

0 comments on commit 5df1b7b

Please sign in to comment.