Coder Social home page Coder Social logo

Make github actions act again about rune HOT 2 CLOSED

hotg-ai avatar hotg-ai commented on May 30, 2024
Make github actions act again

from rune.

Comments (2)

Michael-F-Bryan avatar Michael-F-Bryan commented on May 30, 2024

Normal CI (i.e. cargo check && cargo test) takes about 10 minutes and runs on a single Linux host for every push to a PR. This can normally drop to 2-5 minutes per run if the cache is warm, but the cache is invalidated after a day because we use nightly.

These builds are by far the most important and need to be run. That said, it's in our best interest to minimise build times so everyone gets rapid feedback on their changes.


The benchmark action takes about 30 minutes on a Linux host and is set to run every time there is a commit to master.

We don't really use the results from these runs, so I'd be happy with changing the trigger to be either weekly or just for tags.


Notably, #76 (if merged) will introduce another set of builds because it builds the entire repo and packages it up so people aren't compiling things from source all the time.

Ideally we'd run the action every night (assuming there have been changes) and for Windows/Linux/Mac, but once you consider each build takes about 15 minutes and that Windows and Mac builds consume 2x and 10x minutes, that job alone will cost us (15 + 15*2 + 15*10) * 7 = 1365 CI minutes/week.

It could be tweaked so we run Linux nightly and only do the other builds when we do a release (i.e. a tagged commit is pushed to master). That would drop the nightly action to a more realistic 105 minutes/week.

from rune.

Michael-F-Bryan avatar Michael-F-Bryan commented on May 30, 2024

GitHub Actions are all set up and we get it for free now the Rune repo is public.

from rune.

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.