-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update CI to use macOS 14 #57
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,27 +4,12 @@ on: [push, pull_request] | |
|
||
jobs: | ||
build-macos: | ||
runs-on: macOS-11 | ||
runs-on: macOS-14 | ||
steps: | ||
# Checks-out the repo. More at: https://github.com/actions/checkout | ||
- uses: actions/checkout@v2 | ||
- name: Run on Xcode 11 | ||
run: sudo xcode-select -switch /Applications/Xcode_11.7.app | ||
- name: Generate linux tests | ||
# Makes sure the linux tests were generated properly (can only be run on macOS) | ||
run: swift test --generate-linuxmain && git update-index --refresh && git diff-index --quiet HEAD -- | ||
- name: Test in Debug | ||
run: swift test -c debug | ||
- name: Test in Release | ||
run: swift test -c release | ||
|
||
build-macos-xcode-12: | ||
runs-on: macOS-11 | ||
steps: | ||
# Checks-out the repo. More at: https://github.com/actions/checkout | ||
- uses: actions/checkout@v2 | ||
- name: Run on Xcode 12 | ||
run: sudo xcode-select -switch /Applications/Xcode_12.4.app | ||
- name: Run on Xcode 15.4 | ||
run: sudo xcode-select -switch /Applications/Xcode_15.4.app | ||
- name: Test in Debug | ||
run: swift test -c debug | ||
- name: Test in Release | ||
|
@@ -39,7 +24,7 @@ jobs: | |
swift-action: 'test' | ||
|
||
validate-podspec: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. to get this working we'll likely need to bump up CocoaPods in the Gemfile There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right -- the job passes now after updating to the latest version of cocoapods |
||
runs-on: macOS-11 | ||
runs-on: macOS-14 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Validate Podspec | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'cocoapods', '~> 1.11.0' | ||
gem 'cocoapods', '~> 1.15.0' |
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.
This may no longer exist:
Not sure why we would need this since we also have the
build-linux
job.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.
I don't know that much bout what this was doing. here's what my linux tests tend to look like
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.
If you look at the logs in the
build-linux
job, it does run the tests. So, that part seems fine as-is.