diff --git a/.circleci/config.yml b/.circleci/config.yml index 5eb0bf329..0fab932ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,6 +26,18 @@ step-library: command: bash <(curl -s https://codecov.io/bash) jobs: + spm-job: + parameters: + xcode: + type: string + macos: + xcode: << parameters.xcode >> + environment: + HOMEBREW_NO_AUTO_UPDATE: 1 + steps: + - checkout + - run: swift build + build-job: parameters: xcode: @@ -111,3 +123,6 @@ workflows: tvOS: "11.4" watchOS: "4.3" test: false + - spm-job: + name: "SPM_build" + xcode: "10.2.0" diff --git a/Package.resolved b/Package.resolved index fb56b57db..b9a959338 100644 --- a/Package.resolved +++ b/Package.resolved @@ -3,10 +3,10 @@ "pins": [ { "package": "Polyline", - "repositoryURL": "/Users/fredrik/Workspace/mapbox/Polyline", + "repositoryURL": "https://github.com/raphaelmor/Polyline.git", "state": { - "branch": "fred/spm4.2", - "revision": "4b4b4957549f7d0f1d59e6b3c662234402717de9", + "branch": "master", + "revision": "b5b6dff67db5d692c2253df79d9d6802953316b8", "version": null } } diff --git a/Package.swift b/Package.swift index 2b3999f2b..fb6381018 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "../Polyline", .branch("fred/spm4.2")) + .package(url: "https://github.com/raphaelmor/Polyline.git", .branch("master")) ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite.