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

feat: first pass at conforming to Sendable #40

Merged
merged 18 commits into from
Sep 22, 2022
Merged
Prev Previous commit
Next Next commit
feat: add circle CI
  • Loading branch information
reddavis committed Sep 22, 2022
commit fcae842c3b1ca8c45f15067386b33dc6d6fe4943
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2.1

## Orbs
orbs:
macos: circleci/macos@2

## Jobs
jobs:
unit_test:
macos:
xcode: 14.0.1
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- macos/preboot-simulator:
version: "16.0"
platform: "iOS"
device: "iPhone 14 Pro"
- macos/preboot-simulator:
version: "15.5"
platform: "iOS"
device: "iPhone 14 Pro"
- checkout
- run:
name: Install xcpretty
command: gem install xcpretty
- run:
name: Run iOS16 unit tests
command: Scripts/test -d "OS=16.0,name=iPhone 14 Pro" | xcpretty --color --report junit --output ~/test-results/ios16-results.xml
- run:
name: Run iOS15.5 unit tests
command: Scripts/test -d "OS=15.5,name=iPhone 14 Pro" | xcpretty --color --report junit --output ~/test-results/ios15-results.xml
- store_test_results:
path: ~/test-results
- store_artifacts:
path: ~/Library/Logs/DiagnosticReports

## Workflows
workflows:
on_push:
jobs:
- unit_test