KStocky / ShaderTestFramework

An automation testing framework for testing shader code
MIT License
20 stars 1 forks source link

Faster Github actions run time #114

Closed KStocky closed 5 days ago

KStocky commented 1 week ago

Is your feature request related to a problem? Please describe. Most of our time in each actions run is taken up by building catch2. We might be able to improve github actions workflows run times by integrating CCache

Describe the solution you'd like Follow the blog post and perhaps we can make our test runs much quicker.

Describe alternatives you've considered Another option might be to use the catch2 binaries instead somehow. But I am not that into the idea since we would have to get the binaries from somewhere which would probably involve generating them every time we upgrade catch2 and then storing them to be used for future runs. This could be a very involved process

KStocky commented 1 week ago

I did notice this repo https://github.com/ChrisThrasher/Laplace. It has exceptionally fast build times on github actions with catch2 and they are using find_package with a find_module that defers to FetchContent... Perhaps that is a faster alternative here.