Skip to content

Navigation Menu

Sign in
Sign up

[SwiftDriverIntegraiton] Part IV: Add E2E tests for the swift driver integration - #5

Draft
polac24 wants to merge 1 commit into
add-driver-sync from
add-driver-tests
Draft

[SwiftDriverIntegraiton] Part IV: Add E2E tests for the swift driver integration #5
polac24 wants to merge 1 commit into
add-driver-sync from
add-driver-tests

Conversation

@polac24

@polac24 polac24 commented Jun 4, 2023
edited
Loading

Copy link
Copy Markdown
Owner

The last part of the Swift integration support

  • bundles xcswift-frontent to the .zip (incl. the swift-frontend -> xcswift-frontend and swiftc -> xcswiftc symbolic links). Symlinks are added because Xcode's driver integration requires that the SWIFT_EXEC has swiftc filename, placed next to the swift-frontent
  • Add support of enable_swift_driver_integration: true in the CocoaPods plugin (the automatic integration already support that, added Refactor existing implementation for swift-driver change spotify/XCRemoteCache#208 )
  • Duplicate all E2E tests in 2 modes: with and without enable_swift_driver_integration. That makes the E2E testing longer (~x2), but in the near future (when Xcode 14 support will be deprecated) we will be able to delete the legacy testing. Until we stabilize Swift Driver Integration, E2E tests will take more time. In a single CI, it seems the test pipeline takes 22min (vs 14m previously).
  • For the standalone E2E tests, build&generate artifacts for the M1/M2 machines (arm64). As M1 machines are already more popular than Intel machines, it is better to cover that architecture in tests.
  • Bumps the cocoapods plugin, as there was a change in the implementation (0.0.17)

Previous PRs: spotify#208, spotify#209, spotify#210

polac24 added a commit that referenced this pull request Jun 13, 2023
[SwiftDriverIntegraiton] Part IV: Add E2E tests for the swift driver integration #5 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /