Thread
#multiplatform
    simon.vergauwen

    simon.vergauwen

    1 year ago
    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.
    simon.vergauwen

    simon.vergauwen

    1 year ago
    Thank you @Big Chungus
    louiscad

    louiscad

    1 year ago
    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.
    andylamax

    andylamax

    1 year ago
    I do have scenarios that 13 minutes CI builds were brought down to 8 just after introducing Konan Caching
    louiscad

    louiscad

    1 year ago
    Did it reproduce consistently? With the caching shown behind the link above?
    andylamax

    andylamax

    1 year ago
    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
    simon.vergauwen

    simon.vergauwen

    1 year ago
    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.
    Big Chungus

    Big Chungus

    1 year ago
    Everything is bloated on windows
    simon.vergauwen

    simon.vergauwen

    1 year ago
    It seems so yes 😂
    Big Chungus

    Big Chungus

    1 year ago
    My windows matrix always takes at least twice as long as ubuntu due to file bloat and mingw dependencies needed
    simon.vergauwen

    simon.vergauwen

    1 year ago
    Yes, I’m seeing that too. So I am running
    Linux+JVM
    ,
    MacOs+iOS
    ,
    Windows
    ,
    JS
    and they take about 11-12m each.
    Big Chungus

    Big Chungus

    1 year ago
    I usually build all cross-platform targets on linux and only defer to osx and win for stuff that cannot be built on linux
    louiscad

    louiscad

    1 year ago
    It's OS XI now (or macOS 😉)
    Big Chungus

    Big Chungus

    1 year ago
    What XI stands for? Ir is it just apple being "innovative" again?
    louiscad

    louiscad

    1 year ago
    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 😄
    Big Chungus

    Big Chungus

    1 year ago
    Gotcha