You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: fix C++ interop validation to build sample apps instead of entire package
The previous approach tried to build swift-java itself with C++ interop
mode enabled, which fails because dependencies like swift-system don't
support being built in C++ mode.
The actual goal is to verify that projects depending on swift-java can
build with C++ interop enabled. This change:
- Replaces test-swift-cxx-interop jobs with verify-samples-cxx-interop
- Adds CXX_INTEROP environment variable support to all sample Package.swift
- Uses .interoperabilityMode(.Cxx) conditionally when CXX_INTEROP=1
- Tests all 7 sample apps with C++ interop on Linux (6.1.3, 6.2, nightly)
and macOS (6.2)
Fixes: #391
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments