Skip to content

Commit 365c53d

Browse files
committed
Fix CI: use Swift 6.2 for compat, disable Windows until svg-rendering fixed
1 parent 24dc949 commit 365c53d

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ jobs:
7979
- name: Test (release)
8080
run: swift test -c release
8181

82-
# Compatibility check: Minimum supported Swift version (6.0)
83-
# Note: Swift Testing framework requires Swift 6.0+
82+
# Compatibility check: Minimum supported Swift version (6.2)
8483
linux-compat:
85-
name: Ubuntu (Swift 6.0, compatibility)
84+
name: Ubuntu (Swift 6.2, compatibility)
8685
runs-on: ubuntu-latest
87-
container: swift:6.0
86+
container: swift:6.2
8887
steps:
8988
- uses: actions/checkout@v5
9089

@@ -95,37 +94,38 @@ jobs:
9594
uses: actions/cache@v4
9695
with:
9796
path: .build
98-
key: ${{ runner.os }}-swift60-spm-${{ hashFiles('Package.swift') }}
99-
restore-keys: ${{ runner.os }}-swift60-spm-
97+
key: ${{ runner.os }}-swift62-compat-spm-${{ hashFiles('Package.swift') }}
98+
restore-keys: ${{ runner.os }}-swift62-compat-spm-
10099

101100
# Note: swift test builds automatically
102-
- name: Test (Swift 6.0)
101+
- name: Test (Swift 6.2)
103102
run: swift test -c release
104103

105-
# Windows validation (no container - use setup-swift action)
106-
windows-latest:
107-
name: Windows (Swift 6.2)
108-
runs-on: windows-latest
109-
steps:
110-
- uses: actions/checkout@v6
111-
112-
- name: Configure private repo access
113-
run: git config --global url."https://${{ secrets.PRIVATE_REPO_TOKEN }}@github.com/".insteadOf "https://github.com/"
114-
115-
- name: Install Swift
116-
uses: SwiftyLab/setup-swift@latest
117-
with:
118-
swift-version: "6.2"
119-
120-
- name: Print Swift version
121-
run: swift --version
122-
123-
- name: Cache Swift packages
124-
uses: actions/cache@v5
125-
with:
126-
path: .build
127-
key: windows-swift62-spm-v2-${{ hashFiles('Package.swift', 'Package@*.swift') }}
128-
restore-keys: windows-swift62-spm-
129-
130-
- name: Build
131-
run: swift build -c release -Xswiftc -gnone
104+
# Windows validation - DISABLED until swift-svg-rendering fixes angle brackets in filenames
105+
# See: RangeReplaceableCollection<UInt8>+SVG.swift is not valid on Windows
106+
# windows-latest:
107+
# name: Windows (Swift 6.2)
108+
# runs-on: windows-latest
109+
# steps:
110+
# - uses: actions/checkout@v6
111+
#
112+
# - name: Configure private repo access
113+
# run: git config --global url."https://${{ secrets.PRIVATE_REPO_TOKEN }}@github.com/".insteadOf "https://github.com/"
114+
#
115+
# - name: Install Swift
116+
# uses: SwiftyLab/setup-swift@latest
117+
# with:
118+
# swift-version: "6.2"
119+
#
120+
# - name: Print Swift version
121+
# run: swift --version
122+
#
123+
# - name: Cache Swift packages
124+
# uses: actions/cache@v5
125+
# with:
126+
# path: .build
127+
# key: windows-swift62-spm-v2-${{ hashFiles('Package.swift', 'Package@*.swift') }}
128+
# restore-keys: windows-swift62-spm-
129+
#
130+
# - name: Build
131+
# run: swift build -c release -Xswiftc -gnone

0 commit comments

Comments
 (0)