Hi friends We run CI steps like lint and detekt o...
# multiplatform
a
Hi friends We run CI steps like lint and detekt on Linux machines, and only use macOS for steps involving iOS compilation. We're finding that on our Linux machines, CI is still downloading the Kotlin/Native compiler, only to spit out that
Some Kotlin/Native targets cannot be built on this linux_x64 machine and are disabled:
Is there a way to skip downloading Konan when there isn't even a valid native target to compile?
a
We solve this by caching kotlin/native compilers. So, downloads take faster. Are you using github actions by any chance?
a
we're using circleci. I think we're finding that the time it takes to cache the compiler or restore the compiler is sometimes still a nontrivial amount for extremely lighweight tasks
for now, we're probably just going to avoid spinning up several separate lightweight jobs (which would each need to download konan separately) and instead have one job that does multiple lightweight tasks
t
probably worth to open a new issue in Kotlin
a
a
upvoted