# multiplatform


11/10/2020, 5:23 PM
Is there a guide or a sample project showing how to do CI (for example using github actions) setup (running tests for iOS/Android and common code, building iOS/Android apps etc) for a KMM project? I’ve done that for Android projects before but with KMM everything is in the same repo so I’m a bit confused.


11/10/2020, 5:31 PM
github actions will end up running a gradle task or something alike. So first you can try to do that locally and then you can run the same but in a github action

Mustafa Ozhan

11/10/2020, 9:46 PM
basically if you use standard KMM you have android, ios and common so you will need to run gradle tasks for all of them (individually or together). The problem it is not completely covering ios app yet you need to use also
I have [WIP] KMP project (just a demonstration now) it has ios,android,jvm and js and the gihub action I use is here It basically first set up the environments then for android, js, jvm ios(common part) it runs
./gradlew build --parallel
which is executing most of possible tasks in gradle and for XCode I use beta version in order to use latest SwiftUI etc.
Copy code
xcodebuild build -project ios/ios.xcodeproj/ -sdk iphonesimulator -destination "OS=14.0" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO EXCLUDED_ARCHS=arm64
it seems these configurations are working fine for me now If anyone see something missing or needs to improve just let me know 🙂
👍 1