Skip to content

Adding Examples of Apps, Plugins and Tasks. #14

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

Merged
merged 12 commits into from
May 25, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added catalyst build test.
  • Loading branch information
Brandon Sneed committed May 25, 2021
commit 938d7a57f6b105cfd1d29c8f301c836846df56dc
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- store_artifacts:
path: test_output
destination: scan-output
build_ios_examples:
build_examples:
macos:
xcode: "12.5.0"
resource_class: m2.medium
Expand All @@ -102,13 +102,20 @@ jobs:
- run: for ip in $(dig @8.8.8.8 bitbucket.org +short); do ssh-keyscan bitbucket.org,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
- run: for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
- run:
# build for ios simulator
command: |
cd Examples/apps/BasicExample
xcodebuild -workspace "BasicExample.xcworkspace" -scheme "BasicExample" -sdk iphonesimulator
- run:
# build for ios simulator
command: |
cd Examples/apps/SegmentUIKitExample
xcodebuild -workspace "SegmentUIKitExample.xcworkspace" -scheme "SegmentUIKitExample" -sdk iphonesimulator
- run:
# build for mac catalyst
command: |
cd Examples/apps/SegmentUIKitExample
xcodebuild -workspace "SegmentUIKitExample.xcworkspace" -scheme "SegmentUIKitExample" -sdk macosx
# Collect XML test results data to show in the UI, and save the same XML
# files under test-results folder in the Artifacts tab
- store_test_results:
Expand All @@ -125,7 +132,7 @@ workflows:
- build_and_test_ios
- build_and_test_tvos
- build_and_test_watchos
- build_ios_examples
- build_examples