Hi folks! Just curious: do any of you do anything ...
# kotlin-native
a
Hi folks! Just curious: do any of you do anything special to pre-populate or reuse the
.konan
directory on CI? If you do, could you please briefly share your experience? thank you color
s
I cache
~/.konan
on on GHA
thank you color 1
same 3
a
@Sergey Chelombitko thanks! Does this approach work well for you?
s
I see 20 to 40 seconds savings on Linux and Windows runners when
.konan
is restored from cache compared with downloading toolchains from JB servers. On macOS 26 runners, the overhead of extraction is much higher than on Linux for some reason and the benefit for them is negligible.
a
Cool! Thanks for sharing!
a
@anton.bannykh I have a POC re-implemention of the downloader so Gradle caches the all K/N dependencies :) https://github.com/adamko-dev/kotlin-native-toolchain
thank you color 1
a
@Adam Semenenko Thanks for sharing!