Hey :wave:. Does anyone have an example/project t...
# multiplatform
s
Hey 👋. Does anyone have an example/project they can share of Github Action caches some stuff for MPP? I saw it’s downloading a lot of binaries and platform specific things ever single time on CI.
s
Thank you @Big Chungus
l
Downloading it very fast though, I wonder if the servers are not super close from one another, which would make sense since the binaries are on a CDN.
That is to says that I'm not sure it'd become substantially faster, so I'd interested to see some comparisons.
a
I do have scenarios that 13 minutes CI builds were brought down to 8 just after introducing Konan Caching
l
Did it reproduce consistently? With the caching shown behind the link above?
a
I never attempted to reproduce it, but I can tell my CI builds (specifically ones targeting Koltin/Native) were not taking too much time as previously
s
I tested this, and in the Arrow project we save about
3-5
minutes per action. This happens for 3 actions in parallel, so saves
9-15
minutes of actions running in total per build. So 100% worth it for the Arrow project I’d say.
I can see that for Windows it loads a cache of
1,4GB
and on MacOs/Linux the cache is about
1,2GB
in size.
b
Everything is bloated on windows
s
It seems so yes 😂
b
My windows matrix always takes at least twice as long as ubuntu due to file bloat and mingw dependencies needed
s
Yes, I’m seeing that too. So I am running
Linux+JVM
,
MacOs+iOS
,
Windows
,
JS
and they take about 11-12m each.
b
I usually build all cross-platform targets on linux and only defer to osx and win for stuff that cannot be built on linux
2
l
It's OS XI now (or macOS 😉)
b
What XI stands for? Ir is it just apple being "innovative" again?
l
Apple just names it "macOS" for consistency (with "iOS", "watchOS", "iPadOS", and "tvOS"), and to be independent from further releases. The X in Mac OS X stood for 10, because it was a big leap from Mac OS 9. They kept on 10.x releases for years and years, until they moved to macOS 11.x in Big Sur, and Monterey will be 12.x this Fall. So, saying "macOS" is simpler 🙂
The "XI" was just me making up the Roman numerals 😄
b
Gotcha