Skip to content

Commit c4998e6

Browse files
authored
ci: Run CI on Xcode 15 and macOS 13 (#1753)
1 parent 400af9e commit c4998e6

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- "**"
1010
env:
1111
CI_XCODE_14: /Applications/Xcode_14.2.app/Contents/Developer
12+
CI_XCODE_15: /Applications/Xcode_15.0.app/Contents/Developer
1213
jobs:
1314
tests:
1415
env:
@@ -24,8 +25,9 @@ jobs:
2425
- test:parseui:all
2526
- test:parse_live_query:all
2627
- build:starters
27-
fail-fast: true
28-
runs-on: macos-12
28+
- xcode15 # runs build:starters on XCode 15
29+
fail-fast: false
30+
runs-on: macos-13
2931
steps:
3032
- uses: actions/checkout@v3
3133
- name: Setup Ruby
@@ -65,9 +67,9 @@ jobs:
6567
run: |
6668
carthage bootstrap --use-xcframeworks
6769
- name: Build-Test
68-
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script }}
70+
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script == 'xcode15' && 'build:starters' || matrix.script }}
6971
env:
70-
DEVELOPER_DIR: ${{ env.CI_XCODE_14 }}
72+
DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_14 }}
7173
- name: Generate Environment Variables
7274
if: ${{ always() }}
7375
env:
@@ -96,7 +98,7 @@ jobs:
9698
xcode: true
9799
xcode_archive_path: ${{ env.TEST_RESULTS }}
98100
docs:
99-
runs-on: macos-12
101+
runs-on: macos-13
100102
steps:
101103
- uses: actions/checkout@v3
102104
- name: Setup Ruby

.github/workflows/release-automated.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77

88
jobs:
99
release:
10-
runs-on: macos-12
10+
runs-on: macos-13
1111
outputs:
1212
current_tag: ${{ steps.tag.outputs.current_tag }}
1313
steps:
@@ -45,7 +45,7 @@ jobs:
4545
publish-docs:
4646
needs: release
4747
if: needs.release.outputs.current_tag != ''
48-
runs-on: macos-12
48+
runs-on: macos-13
4949
steps:
5050
- name: Checkout repository
5151
uses: actions/checkout@v3

.github/workflows/release-manual-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
jobs:
1212
publish-docs:
1313
if: github.event.inputs.tag != ''
14-
runs-on: macos-12
14+
runs-on: macos-13
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v3

ParseTwitterUtils/Tests/Unit/TwitterAuthenticationProviderTests.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ - (void)testConstructors {
5454
provider = [PFTwitterAuthenticationProvider providerWithTwitter:twitter];
5555
XCTAssertNotNil(provider);
5656
XCTAssertEqual(provider.twitter, twitter);
57-
58-
PFAssertThrowsInconsistencyException([PFTwitterAuthenticationProvider new]);
5957
}
6058

6159
- (void)testAuthData {

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ namespace :build do
158158

159159
desc 'Build all starters'
160160
task :starters do
161-
Rake::Task['build:ios_starters:all'].invoke
162-
Rake::Task['build:macos_starters:all'].invoke
163161
Rake::Task['build:tvos_starters:all'].invoke
164162
Rake::Task['build:watchos_starters:all'].invoke
163+
Rake::Task['build:ios_starters:all'].invoke
164+
Rake::Task['build:macos_starters:all'].invoke
165165
end
166166
end
167167

0 commit comments

Comments
 (0)