Skip to content

Commit a19b25e

Browse files
committed
attempt to cache llvm
1 parent ce5621b commit a19b25e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/bun_build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ jobs:
4040
- run: sed -i 's/max_rss = 7_800_000_000/max_rss = 10_000_000_000/' zig/build.zig
4141
if: matrix.safe == 'true'
4242
- run: cat build
43+
- name: Cache host toolchain
44+
uses: actions/cache@v4
45+
with:
46+
path: |
47+
out/build-llvm-host
48+
key: |
49+
host-llvm-${{ runner.os }}-${{ runner.arch }}-zig0152-ninja-${{ hashFiles('build', 'llvm/**', 'clang/**', 'lld/**') }}
50+
restore-keys: |
51+
host-llvm-${{ runner.os }}-${{ runner.arch }}-zig0152-ninja-
4352
- run: CMAKE_GENERATOR=Ninja ./build ${{ matrix.target }} baseline
4453
- uses: actions/upload-artifact@v4
4554
with:

0 commit comments

Comments
 (0)