Skip to content

Commit da13344

Browse files
pblazejclaude
andcommitted
ci: use native build system for swift snapshot workflow
Recent main-snapshot toolchains crash at build startup with "unable to find bundle named SwiftBuild_SWBUniversalPlatform" (SwiftPM's SwiftBuild integration cannot locate its resource bundles on the CI image). This prevents the job from ever reaching Swift compilation. Pass --build-system native to fall back to the classic SwiftPM build system, which is sufficient for the workflow's goal of validating the package against upcoming Swift. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f709111 commit da13344

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/swift-snapshot.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ jobs:
3333
run: swiftly install -y ${{ env.SWIFT_SNAPSHOT }}
3434

3535
- name: Build
36-
run: swiftly run swift build +${{ env.SWIFT_SNAPSHOT }}
36+
# --build-system native avoids a SwiftBuild resource-bundle crash
37+
# ("unable to find bundle named SwiftBuild_SWBUniversalPlatform")
38+
# seen in recent main-snapshot toolchains on the CI image.
39+
run: swiftly run swift build +${{ env.SWIFT_SNAPSHOT }} --build-system native

0 commit comments

Comments
 (0)