-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
SPM GitHub Action #4553
SPM GitHub Action #4553
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4553 +/- ##
=======================================
Coverage 58.96% 58.96%
=======================================
Files 50 50
Lines 290 290
=======================================
Hits 171 171
Misses 119 119
Continue to review full report at Codecov.
|
SPM GitHub Action (ChartsOrg#4553)
How about a 4.0.1 pre-release so that the iOS-based users can test for the 4.x changes as well without pulling master? @liuxuan30 ? |
@andyj-at-aspin what is your point here? I'm a little confused as we have 4.0 released so you can test it? or you mean the new merges? like #4497 |
I mean please create a numbered release that includes changes to master such as this specific commit. Before this commit, it was not possible to test Charts 4.x using SPM installation targeting iOS at all. After this commit, it's been possible as long as you tell SPM to use the master branch inside Xcode. It's not possible to do this if Charts is added as a sub-dependency of another Swift Package. |
sure. I will address it recently. Need to merge another PR and fix the CI failures |
I can build just fine now when pointing the SPM to the master branch. But indeed, an minor 4.0.1 tag would be much nicer. |
It's been a while since I last verified my Swift Package versions in my Apps. Thank you everyone concerned with the 4.0.1 release - especially Jacob and Xuan. |
* Create swift.yml * Update project so SPM builds for all platforms * Fix AutoreleaseingUnsafePointer warning * Remove tests from github SPM action
* master: update changelog. Fixed incorrect guard return statement when rendering limit lines (ChartsOrg#4563) Fix bounds checks on binary search (ChartsOrg#4577) Added SPM build action (ChartsOrg#4576) Replace FBSnapshotTestCase with pointfree/swift-snapshot-testing (ChartsOrg#4574) Import swift algorithms (ChartsOrg#4497) ChartViewBase cleanup (ChartsOrg#4537) SPM GitHub Action (ChartsOrg#4553) Algorithm updates (ChartsOrg#3638) Added SPM Install section Update README.md Fix missing drawIconsEnabled parameter initialization in the copying constructor of the ChartBaseDataSet (ChartsOrg#4424) Resolve conflict for 4.0 branch and master (ChartsOrg#4456) Alternative for SPM dynamic linking (ChartsOrg#4478) 3.6.0 changelog # Conflicts: # Source/Charts/Renderers/LineChartRenderer.swift
Issue Link π
Resolves #4539 and #4550
Goals β½
Fix SwiftPM build, and add a GitHub Action to help ensure it is always buildable
Implementation Details π§
Added typealiases in
Platform.swift
rather than add#if
in many files for cross-platform supportTesting Details π
Github Actions run swift build to ensure it builds