# Using sysimages in CI?

**URL:** <https://discourse.julialang.org/t/using-sysimages-in-ci/89021>\
**Category:** Tooling\
**Tags:** github, ci, github-actions, sysimage\
**Created:** [October 20, 2022, 4:25pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021 "2022-10-20T16:25:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [October 20, 2022, 4:25pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021/1 "2022-10-20T16:25:52Z")

</div>

I have a test suite that, when executed on Github Actions takes 15ish minutes to precompile all dependencies and other TTFX tasks and then only 3ish minutes to actually run the tests.

Is there a way to have a sysimage that can be reused by Github CI, so that these 15 minutes can be skipped? Besides convenience, I simply feel bad for hogging resources like that.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [October 20, 2022, 5:11pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021/2 "2022-10-20T17:11:17Z")

</div>

You could maybe take a look at [Caching dependencies to speed up workflows - GitHub Docs](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows).

---

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [October 20, 2022, 8:46pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021/3 "2022-10-20T20:46:00Z")

</div>

For julia workflows, you have [julia-actions/cache](https://github.com/julia-actions/cache), reducing the addition to a single line in your `.yml`.
