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

Improve CI steps #90

Merged
merged 13 commits into from
Nov 13, 2023
Merged

Improve CI steps #90

merged 13 commits into from
Nov 13, 2023

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Nov 10, 2023

💡 Motivation and Context

If we break anything for any platform, CI will nag us.

Added a TvOS example since the standard example uses classes that are not available for TvOS eg ASWebAuthenticationPresentationContextProviding, presentationContextProvider, and prefersEphemeralWebBrowserSession.

#skip-changelog

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.


buildExample:
set -o pipefail && xcodebuild build -project PostHog.xcodeproj -scheme PostHogExample -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0.1' | xcpretty
set -o pipefail && xcrun xcodebuild build -scheme PostHog -destination generic/platform=ios | xcpretty #ios
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a CI matrix so they run in parallel when enough macOS machines are available, since the build is super fast yet, let's keep it simple.

@marandaneto marandaneto marked this pull request as ready for review November 13, 2023 07:42
Copy link
Collaborator

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@marandaneto marandaneto merged commit 99630b7 into main Nov 13, 2023
10 checks passed
@marandaneto marandaneto deleted the chore/improve-ci-steps branch November 13, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants