-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add CI build using GitHub Actions #2
Conversation
- name: Prepare iOS 13 Simulator | ||
run: | | ||
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes | ||
sudo ln -s /Applications/Xcode_11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 13.7.simruntime | ||
xcrun simctl list runtimes | ||
if: matrix.platform == 'iOS_13' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adapted from this comment.
@@ -65,7 +65,7 @@ Note that the demo app uses an email-based bug reporter, so it will not be able | |||
|
|||
## Requirements | |||
|
|||
* Xcode 11.0 or later | |||
* Xcode 12.0 or later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like CI is configured to use Xcode 11. Can we make this consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The builds should always use Xcode 12.
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_12.2.app/Contents/Developer
The only thing it references Xcode 11 for is to copy the iOS 13 simulator runtime, since Xcode 12 only comes with iOS 14 pre-installed.
This is mostly a copy of the config from AardvarkReveal with the relevant names changed and a few minor tweaks to fit the setup in this repo.