Skip to content

Commit 5ae01b9

Browse files
committed
Explicitly allow build cache miss for makefile tests.
1 parent b2a069b commit 5ae01b9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,17 @@ jobs:
246246
fail-on-cache-miss: true
247247

248248
# An arbitary build.
249+
# Failing to fetch this is not fatal, we're testing Makefiles here.
250+
# Some combinations of our options (pmake, EXPENSIVE_CHECKS, whatever)
251+
# won't exist in cache because we didn't build those. That's okay for
252+
# the purposes of this step, building those is harmless.
249253
- name: Fetch build
250254
uses: actions/cache/restore@v5
251255
id: cache-build
252256
with:
253257
path: ${{ env.build }}
254258
key: build-${{ matrix.make }}-${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.debug }}-${{ matrix.san }}-${{ github.sha }}
255-
fail-on-cache-miss: true
259+
fail-on-cache-miss: false
256260

257261
# We don't need to build the entire repo to know that the makefiles work,
258262
# I'm just deleting a couple of .o files and rebuilding those instead.

0 commit comments

Comments
 (0)