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

Add CI build using GitHub Actions #2

Merged
merged 14 commits into from
Mar 10, 2021
Merged

Add CI build using GitHub Actions #2

merged 14 commits into from
Mar 10, 2021

Conversation

NickEntin
Copy link
Collaborator

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.

Comment on lines +24 to +29
- 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'
Copy link
Collaborator Author

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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@NickEntin NickEntin merged commit b6ce570 into main Mar 10, 2021
@NickEntin NickEntin deleted the entin/ci-build branch March 10, 2021 19:30
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.

None yet

2 participants