Skip to content

Commit

Permalink
Use the mathlib4 cache in CI build
Browse files Browse the repository at this point in the history
The project build is now slower because we use mathllib4 in the project.
This commit adds a command to the build workflow to fetch the cached
build artefacts for mathlib (and other standard libraries).

This may speed up the CI build.
  • Loading branch information
paulcadman committed Dec 10, 2024
1 parent 081b6e9 commit 552bdd8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:

- uses: actions/checkout@v4

- name: fetch mathlib cache
run: lake exe cache get

- name: build project
run: just build

Expand Down Expand Up @@ -63,6 +66,9 @@ jobs:
- uses: actions/checkout@v4

- name: fetch mathlib cache
run: lake exe cache get

- name: build project
run: just build

Expand Down

0 comments on commit 552bdd8

Please sign in to comment.