feat: add iOS to CI - #3462
Conversation
|
Looking good. Can you unify the duplicated code between mac_support and ios_support? And make sure it uses tab. |
|
ios_tests.sh should be merged to ci_tests.sh to reduce the "drift" and duplication. I don't think we need the full test suite for "iOS x64-sim". What's the difference between simulator : true and false? This isn't marked as draft but I see you're still making changes, what are you working on? |
Like put those in one file: darwin_support.c? |
Part of me thought it would be good to have it in a separate script because of all these xcrun simctl spawns. Sorry about that; I’ll see what I can do.
Sure, I’ll remove it from the workflow.
Out of the 3 targets, 2 are simulators so that’s why there’s
I've been tinkering with |
|
What is the progress on the draft? |
|
|
Thank you! |
This PR gives the initial support for iOS.
The following changes were made:
Two new targets have been added for iOS alongside
ios-aarch64:ios-aarch64-simandios-x64-simAll 3 iOS targets have been added to the
manifest.jsonin bothclib.c3landclib2.c3l.Linker setup in
linker_setup_darwinoflinker.c, target detection intarget.cand support indarwin_support.chave been added for iOS.Modified
ci_tests.shto allow running ci tests for iOS.A workflow has been added for iOS which does the following: build host's c3c binary, boot the simulators, run the CI tests, test physical device binary.