Skip to content

Commit 5d8ebae

Browse files
committed
experiment state cache for incremental build
1 parent 2fb6cc8 commit 5d8ebae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ jobs:
244244
fi
245245
shell: bash
246246

247+
- name: Restore compiler build state
248+
id: compiler-build-state
249+
uses: actions/cache@v4
250+
with:
251+
path: _build
252+
key: compiler-build-state-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}
253+
247254
- name: Build compiler
248255
if: runner.os != 'Linux'
249256
run: opam exec -- dune build --display quiet --profile release

0 commit comments

Comments
 (0)