Fix CI for building M1 simulator binaries#4576
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4576 +/- ##
=======================================
Coverage 80.69% 80.69%
=======================================
Files 48 48
Lines 5217 5217
=======================================
Hits 4210 4210
Misses 1007 1007 Continue to review full report at Codecov.
|
|
Hmmm, testing with the artifacts that came from this still produce the error on non-rosetta Xcode.....will need to do more testing! |
8339b9e to
a861065
Compare
| # Rust rebuild in Release mode by forcing Debug mode on | ||
| # non-release builds. | ||
| bash megazords/ios-rust/build-xcframework.sh --build-profile debug | ||
| # TODO: Figure out Release vs Debug |
There was a problem hiding this comment.
It's worth saying here something like: "We normally build debug versions if a git tag didn't trigger this job and release if one did, but for whatever reason .etc". And maybe open a new issue and add a reference to it here? That will just make it a bit more obvious why both branches are identical.
There was a problem hiding this comment.
It's worth saying here something like: "We normally build debug versions if a git tag didn't trigger this job and release if one did, but for whatever reason .etc". And maybe open a new issue and add a reference to it here? That will just make it a bit more obvious why both branches are identical.
After us talking about this a little more, we actually don't want to build debug in practice and if you end up needing symbols it's ideal to build that locally (it dramatically increases in size). I think keeping only release builds in CI make more sense. Thanks!
02e5094 to
411e8b5
Compare
Fixes #4585
Building swift packages locally works but not in CI. This was due to using debug instead of release -- reasons currently unknown and will be investigated and tracked in another task .
Pull Request checklist
[ci full]to the PR title.