File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 5454 - name : Checkout
5555 uses : actions/checkout@v4
5656
57+ - name : Restore APT state cache
58+ if : runner.os == 'Linux'
59+ uses : actions/cache/restore@v4
60+ with :
61+ path : |
62+ /var/lib/apt/lists
63+ /var/cache/apt
64+ key : apt-dependencies-v1
65+
5766 - name : Install musl gcc
5867 if : runner.os == 'Linux'
59- run : sudo apt-get install -y musl-tools
68+ run : |
69+ sudo apt-get install -y --no-install-recommends \
70+ musl-tools
6071
6172 - name : Set up sccache
6273 uses : mozilla-actions/sccache-action@v0.0.4
@@ -213,6 +224,28 @@ jobs:
213224 chmod +x rewatch/rewatch
214225 chmod +x _build/install/default/bin/*
215226
227+ - name : Cache APT state
228+ if : runner.os == 'Linux'
229+ uses : actions/cache@v4
230+ with :
231+ path : |
232+ /var/lib/apt/lists
233+ /var/cache/apt
234+ key : apt-dependencies-v1
235+
236+ - name : Install dependencies
237+ if : runner.os == 'Linux'
238+ run : |
239+ # See https://github.com/ocaml/setup-ocaml/blob/92dde8cf/packages/setup-ocaml/src/unix.ts#L13
240+ sudo apt-get install -y --no-install-recommends \
241+ bubblewrap \
242+ darcs \
243+ g++-multilib \
244+ gcc-multilib \
245+ mercurial \
246+ musl-tools \
247+ rsync
248+
216249 - name : Restore OPAM tool
217250 id : cache-opam-tool
218251 uses : actions/cache/restore@v4
You can’t perform that action at this time.
0 commit comments