Giter Site home page Giter Site logo

Setup cache on GH actions about principia HOT 4 CLOSED

griffi-gh avatar griffi-gh commented on June 2, 2024
Setup cache on GH actions

from principia.

Comments (4)

rollerozxa avatar rollerozxa commented on June 2, 2024

MinGW builds already use caching for repository packages. I don't see why caching incremental builds would be useful though, Principia itself compiles fast enough.

from principia.

griffi-gh avatar griffi-gh commented on June 2, 2024

wdym github doesn't pull in anything except repo files by default

from principia.

rollerozxa avatar rollerozxa commented on June 2, 2024

er, I meant MSYS2. the MSYS2 action has built-in caching for repository packages that it will retrieve if new versions of the package aren't available from the MSYS2 repositories.

anyways, went and checked the build times for actions:

  • Linux: ~2 min deps installation (no cache), ~4 min build time, ~6:30 in total
  • Windows: ~4 min deps installation (using packages from cache), ~9 min build time (wtf?), ~15 min total
  • Android: ~2 min deps installation, ~10 min build time (building 4 times for four architectures, understandable), ~12 min total

The Linux action doesn't produce any binaries currently, it's purely a sanity test to check that it compiles, so it's good that it finishes rather quickly so you can quickly see if something makes the compilation fail. Windows and Android produce binaries in addition to testing compilation, it's probably less important for them to finish quickly, they'll eventually finish or fail early if something is wrong.

from principia.

griffi-gh avatar griffi-gh commented on June 2, 2024

oh, ok that's pretty reasonable

from principia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.