Skip to content

Commit e8789cd

Browse files
committed
caches
1 parent 727476a commit e8789cd

File tree

1 file changed

+5
-34
lines changed

1 file changed

+5
-34
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,9 @@ jobs:
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-
6657
- name: Install musl gcc
6758
if: runner.os == 'Linux'
68-
run: |
69-
sudo apt-get install -y --no-install-recommends \
70-
musl-tools
59+
run: sudo apt-get install -y --no-install-recommends musl-tools
7160

7261
- name: Set up sccache
7362
uses: mozilla-actions/[email protected]
@@ -224,27 +213,13 @@ jobs:
224213
chmod +x rewatch/rewatch
225214
chmod +x _build/install/default/bin/*
226215
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-
236216
- name: Install dependencies
237217
if: runner.os == 'Linux'
238-
run: |
218+
uses: awalsh128/[email protected]
219+
with:
239220
# 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
221+
packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
222+
version: v1
248223

249224
- name: Restore OPAM tool
250225
id: cache-opam-tool
@@ -395,10 +370,6 @@ jobs:
395370
run: node scripts/ciTest.js -mocha -theme -format
396371

397372
# Build the playground compiler on the fastest runner (ubuntu-latest)
398-
- name: Install JSOO
399-
if: matrix.os == 'ubuntu-latest'
400-
run: opam install js_of_ocaml.5.8.1
401-
402373
- name: Build playground compiler
403374
if: matrix.os == 'ubuntu-latest'
404375
run: |

0 commit comments

Comments
 (0)