Skip to content

Commit 7cd4149

Browse files
committed
ci: use Xcode 26.0.1 for all builds
1 parent 2ba4bad commit 7cd4149

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: ci
22

3-
on:
3+
on:
44
push:
5-
branches:
5+
branches:
66
- master
77
pull_request:
8-
branches:
9-
- '*'
10-
workflow_dispatch:
8+
branches:
9+
- "*"
10+
workflow_dispatch:
1111

1212
jobs:
1313
build:
@@ -40,33 +40,33 @@ jobs:
4040
- os: "26.0.1"
4141
xcode: "26.0.1"
4242
sim: "iPhone 16 Pro"
43-
parallel: NO # Stop random test job failures
43+
parallel: NO # Stop random test job failures
4444
runs-on: macos-15
4545
- os: "18.5"
4646
xcode: "16.4"
4747
sim: "iPhone 16 Pro"
48-
parallel: NO # Stop random test job failures
48+
parallel: NO # Stop random test job failures
4949
runs-on: macos-15
5050
- os: "17.5"
5151
xcode: "15.4"
5252
sim: "iPhone 15 Pro"
53-
parallel: NO # Stop random test job failures
53+
parallel: NO # Stop random test job failures
5454
runs-on: macos-14
5555
steps:
56-
- uses: actions/checkout@v4
57-
- name: Testing in iOS ${{ matrix.os }}
58-
run: |
59-
xcodebuild clean test \
60-
-workspace FloatingPanel.xcworkspace \
61-
-scheme FloatingPanel \
62-
-destination 'platform=iOS Simulator,OS=${{ matrix.os }},name=${{ matrix.sim }}' \
63-
-parallel-testing-enabled '${{ matrix.parallel }}'
56+
- uses: actions/checkout@v4
57+
- name: Testing in iOS ${{ matrix.os }}
58+
run: |
59+
xcodebuild clean test \
60+
-workspace FloatingPanel.xcworkspace \
61+
-scheme FloatingPanel \
62+
-destination 'platform=iOS Simulator,OS=${{ matrix.os }},name=${{ matrix.sim }}' \
63+
-parallel-testing-enabled '${{ matrix.parallel }}'
6464
timeout-minutes: 20
6565

6666
example:
6767
runs-on: macos-15
6868
env:
69-
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
69+
DEVELOPER_DIR: /Applications/Xcode_26.0.1.app/Contents/Developer
7070
strategy:
7171
fail-fast: false
7272
matrix:
@@ -78,13 +78,13 @@ jobs:
7878
- example: "SamplesObjC"
7979
- example: "SamplesSwiftUI"
8080
steps:
81-
- uses: actions/checkout@v4
82-
- name: Building ${{ matrix.example }}
83-
run: |
84-
xcodebuild clean build \
85-
-workspace FloatingPanel.xcworkspace \
86-
-scheme ${{ matrix.example }} \
87-
-sdk iphonesimulator
81+
- uses: actions/checkout@v4
82+
- name: Building ${{ matrix.example }}
83+
run: |
84+
xcodebuild clean build \
85+
-workspace FloatingPanel.xcworkspace \
86+
-scheme ${{ matrix.example }} \
87+
-sdk iphonesimulator
8888
8989
swiftpm:
9090
runs-on: ${{ matrix.runs-on }}
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
fail-fast: false
9595
matrix:
96-
xcode: ["16.4", "15.4"]
96+
xcode: ["26.0.1", "16.4", "15.4"]
9797
platform: [iphoneos, iphonesimulator]
9898
arch: [x86_64, arm64]
9999
exclude:
@@ -119,20 +119,20 @@ jobs:
119119
sys: "ios17.2-simulator"
120120
runs-on: macos-14
121121
steps:
122-
- uses: actions/checkout@v4
123-
- name: "Swift Package Manager build"
124-
run: |
125-
xcrun swift build \
126-
--sdk "$(xcrun --sdk ${{ matrix.platform }} --show-sdk-path)" \
127-
-Xswiftc "-target" -Xswiftc "${{ matrix.arch }}-apple-${{ matrix.sys }}"
122+
- uses: actions/checkout@v4
123+
- name: "Swift Package Manager build"
124+
run: |
125+
xcrun swift build \
126+
--sdk "$(xcrun --sdk ${{ matrix.platform }} --show-sdk-path)" \
127+
-Xswiftc "-target" -Xswiftc "${{ matrix.arch }}-apple-${{ matrix.sys }}"
128128
129129
cocoapods:
130130
runs-on: macos-15
131131
env:
132-
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
132+
DEVELOPER_DIR: /Applications/Xcode_26.0.1.app/Contents/Developer
133133
steps:
134-
- uses: actions/checkout@v4
135-
- name: "CocoaPods: pod lib lint"
136-
run: pod lib lint --allow-warnings --verbose
137-
- name: "CocoaPods: pod spec lint"
138-
run: pod spec lint --allow-warnings --verbose
134+
- uses: actions/checkout@v4
135+
- name: "CocoaPods: pod lib lint"
136+
run: pod lib lint --allow-warnings --verbose
137+
- name: "CocoaPods: pod spec lint"
138+
run: pod spec lint --allow-warnings --verbose

0 commit comments

Comments
 (0)