Skip to content

Commit 8058f7a

Browse files
authored
Add validator script for already released Navigation SDK versions that are based on SPM. (#4091)
1 parent e675ab8 commit 8058f7a

File tree

14 files changed

+743
-1
lines changed

14 files changed

+743
-1
lines changed

.circleci/config.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ commands:
3737
name: Install GitHub CLI
3838
command: |
3939
brew install gh
40+
install-xcodegen:
41+
steps:
42+
- run:
43+
name: Install XcodeGen
44+
command: |
45+
brew install xcodegen
46+
install-bash5:
47+
steps:
48+
- run:
49+
name: Install Bash 5
50+
command: |
51+
brew install bash
52+
environment:
53+
HOMEBREW_NO_AUTO_UPDATE: 1
4054
restore-carthage-cache:
4155
parameters:
4256
xcode:
@@ -617,7 +631,20 @@ jobs:
617631
- run:
618632
name: Build SPM Core integration test
619633
command: cd Tests/SPMTest/CoreSPMTest && xcodebuild -scheme CoreSPMTest -destination "platform=iOS Simulator,OS=15.0,name=iPhone 13 Pro Max" build
620-
634+
635+
spm-ui-integration-test-job:
636+
macos:
637+
xcode: "13.2.1"
638+
steps:
639+
- checkout
640+
- install-bash5
641+
- *prepare-netrc-file
642+
- *add-github-to-known-hosts
643+
- install-xcodegen
644+
- run:
645+
name: Validate released Navigation SDK versions
646+
command: /usr/local/bin/bash ./scripts/validate_releases.sh # Use Bash 5 that is installed via Homebrew.
647+
621648
generate-docs-job:
622649
parameters:
623650
xcode:
@@ -707,6 +734,8 @@ workflows:
707734
device: "iPhone 11 Pro Max"
708735
context: Slack Orb
709736
notify_success: true
737+
- spm-ui-integration-test-job:
738+
name: "Xcode 13.2.1; SPM UI test"
710739
triggers:
711740
- schedule:
712741
cron: "0 0 * * *" # Once per day at 00:00

0 commit comments

Comments
 (0)