-
Notifications
You must be signed in to change notification settings - Fork 5
feat: add DocC documentation, comprehensive tests, and cross-platform CI #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zamderax
wants to merge
20
commits into
loro-dev:main
Choose a base branch
from
wendylabsinc:feature/tree-docs-and-linux-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: add DocC documentation, comprehensive tests, and cross-platform CI #29
zamderax
wants to merge
20
commits into
loro-dev:main
from
wendylabsinc:feature/tree-docs-and-linux-support
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add DocC documentation catalog with 8 articles covering all container types - GettingStarted, WorkingWithText, WorkingWithLists, WorkingWithMaps - WorkingWithTrees, WorkingWithCounters, VersioningAndSync - Add 51 new unit tests for Text, List, MovableList, Map, Tree, Counter, and Versioning - Add Linux and Windows CI support with GitHub Actions matrix - Add FoundationEssentials support for better Linux compatibility - Add build scripts for Linux (build_linux.sh) and Windows (build_windows.ps1) - Update Package.swift for cross-platform support with system library target
- Remove Windows CI (complex Swift/VisualC integration issues) - Mark Linux CI as experimental with continue-on-error - Revert Package.swift to original simple form (avoids #if os issues) - Test on Swift 5.10 and 6.0 on macOS
- Update CI to use swiftly for Swift 6.2 installation on macOS and Linux - Add build_artifactbundle.sh script to build static libraries from Rust - Update Package.swift to use artifact bundles (SE-0482) for local builds - Fix Swift 6 strict concurrency issues in generated LoroFFI.swift - Fix protocol constraints to allow struct conformance - Add toString() convenience methods for backward compatibility - Update to loro-ffi 1.10.3
- Creates artifact bundle with variants for macOS, Linux (x86_64/arm64), Windows - Automatically publishes to GitHub releases on tag push - Includes checksum and updated LoroFFI.swift in release - Update Package.swift to use artifact bundle URL for releases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive documentation, tests, and cross-platform CI support to loro-swift:
DocC Documentation: 8 articles covering all container types
Comprehensive Tests: 51 new unit tests covering
Cross-Platform CI: GitHub Actions matrix for
Linux Compatibility: FoundationEssentials support for lighter Foundation dependency
Test Plan
Files Changed
Sources/Loro/Loro.docc/Tests/LoroTests/LoroTests.swiftwith 51 new tests.github/workflows/ci.yamlwith matrix buildscripts/build_linux.sh,scripts/build_windows.ps1Package.swiftfor cross-platform support