Skip to content

Commit 2f3beaf

Browse files
authored
Update CI toolchain versions (#227)
1 parent 6166503 commit 2f3beaf

22 files changed

Lines changed: 96 additions & 27 deletions

.github/workflows/compatibility_tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
include:
1616
- os: macos-15
17-
xcode-version: "16.4" # Swift 6.1.2
17+
xcode-version: "26.3" # Swift 6.2.4
1818
runs-on: ${{ matrix.os }}
1919
env:
2020
OPENATTRIBUTEGRAPH_WERROR: 1
@@ -36,7 +36,9 @@ jobs:
3636
shell: bash
3737
- name: Run tests against Apple's AttributeGraph on macOS via SwiftPM
3838
run: |
39+
# Swift 6.2.4 crashes while indexing C++ interop test targets.
3940
swift test \
41+
--disable-index-store \
4042
--build-path .build-compatibility-test-debug
4143
- name: Run tests against Apple's AttributeGraph on macOS via Xcode
4244
run: |
@@ -46,4 +48,4 @@ jobs:
4648
-sdk macosx \
4749
-destination "platform=macOS" \
4850
-skipPackagePluginValidation \
49-
-skipMacroValidation
51+
-skipMacroValidation

.github/workflows/compute.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
swift_version: ["6.2"]
15+
# Swift 6.2.4 crashes swift-frontend when compiling C++ interop on Linux.
16+
# Swift 6.3.2 has been verified locally on Linux.
17+
swift_version: ["6.3.2"]
1618
runs-on: ubuntu-22.04
1719
env:
1820
OPENATTRIBUTEGRAPH_WERROR: 1
@@ -36,7 +38,7 @@ jobs:
3638
fail-fast: false
3739
matrix:
3840
os: [macos-15]
39-
xcode-version: ["16.4"]
41+
xcode-version: ["26.3"]
4042
runs-on: ${{ matrix.os }}
4143
env:
4244
OPENATTRIBUTEGRAPH_WERROR: 1
@@ -59,7 +61,7 @@ jobs:
5961
fail-fast: false
6062
matrix:
6163
os: [macos-15]
62-
xcode-version: ["16.4"]
64+
xcode-version: ["26.3"]
6365
ios-version: ["18.5"]
6466
include:
6567
- ios-version: "18.5"

.github/workflows/ios.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [macos-15]
16-
xcode-version: ["16.4"] # Swift 6.1.2
16+
xcode-version: ["26.3"] # Swift 6.2.4
1717
ios-version: ["18.5"]
1818
include:
1919
- ios-version: "18.5"
@@ -38,6 +38,7 @@ jobs:
3838
shell: bash
3939
- name: Build in debug mode on iOS
4040
run: |
41+
# Swift 6.2.4 crashes while indexing C++ interop test targets.
4142
xcodebuild build \
4243
-workspace .swiftpm/xcode/package.xcworkspace \
4344
-scheme OpenAttributeGraph-Package \
@@ -46,9 +47,11 @@ jobs:
4647
-derivedDataPath .build-debug \
4748
-skipMacroValidation \
4849
-skipPackagePluginValidation \
50+
COMPILER_INDEX_STORE_ENABLE=NO \
4951
OTHER_SWIFT_FLAGS="-warnings-as-errors"
5052
- name: Build and run tests in debug mode with coverage on iOS Simulator
5153
run: |
54+
# Swift 6.2.4 crashes while indexing C++ interop test targets.
5255
xcodebuild test \
5356
-workspace .swiftpm/xcode/package.xcworkspace \
5457
-scheme OpenAttributeGraph-Package \
@@ -57,7 +60,8 @@ jobs:
5760
-enableCodeCoverage=YES \
5861
-derivedDataPath .build-test-debug \
5962
-skipPackagePluginValidation \
60-
-skipMacroValidation
63+
-skipMacroValidation \
64+
COMPILER_INDEX_STORE_ENABLE=NO
6165
# OTHER_SWIFT_FLAGS="-warnings-as-errors" Conflicting options '-warnings-as-errors' and '-suppress-warnings'
6266
- name: Generate iOS coverage report
6367
run: |

.github/workflows/macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [macos-15]
16-
xcode-version: ["16.4"] # Swift 6.1.2
16+
xcode-version: ["26.3"] # Swift 6.2.4
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
OPENATTRIBUTEGRAPH_WERROR: 1
@@ -34,7 +34,9 @@ jobs:
3434
shell: bash
3535
- name: Build and run tests in debug mode with coverage
3636
run: |
37+
# Swift 6.2.4 crashes while indexing C++ interop test targets.
3738
swift test \
39+
--disable-index-store \
3840
-c debug \
3941
--enable-code-coverage \
4042
--build-path .build-test-debug
@@ -44,7 +46,9 @@ jobs:
4446
> coverage.txt
4547
- name: Build and run tests in release mode
4648
run: |
49+
# Swift 6.2.4 crashes while indexing C++ interop test targets.
4750
swift test \
51+
--disable-index-store \
4852
-c release \
4953
--enable-code-coverage \
5054
--build-path .build-test-release

.github/workflows/oag_binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [macos-15]
16-
xcode-version: ["16.4"]
16+
xcode-version: ["26.3"]
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
OPENATTRIBUTEGRAPH_WERROR: 1

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Xcode
2222
uses: OpenSwiftUIProject/setup-xcode@v2
2323
with:
24-
xcode-version: "16.4"
24+
xcode-version: "26.3"
2525
- name: Build XCFramework
2626
run: ./Scripts/build_xcframework.sh
2727
- name: Compute Checksum

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
swift_version: ["6.1.3"]
15+
# Swift 6.2.4 crashes swift-frontend when compiling C++ interop tests on Linux.
16+
# Swift 6.3.2 has been verified locally on Linux.
17+
swift_version: ["6.3.2"]
1618
runs-on: ubuntu-22.04
1719
env:
1820
OPENATTRIBUTEGRAPH_WERROR: 1

.github/workflows/xcframework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [macos-15]
16-
xcode-version: ["16.4"] # Swift 6.1.2
16+
xcode-version: ["26.3"] # Swift 6.2.4
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
GH_TOKEN: ${{ github.token }}

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "Checkouts/swift"]
22
path = Checkouts/swift
33
url = https://github.com/OpenSwiftUIProject/swift-runtime-headers.git
4-
branch = release/6.1
4+
branch = release/6.2

.swiftformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# OpenAttributeGraph SwiftFormat configuration
22

33
# Swift version
4-
--swiftversion 6.1
4+
--swiftversion 6.2
55

66
# Indentation
77
--indent 4

0 commit comments

Comments
 (0)