From b13739c782149828fd6485497f879ce320279a5f Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Sep 2025 12:51:48 +0200 Subject: [PATCH] do not bother with recompiling the libraries, if we got a cache hit. --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bbce95a..3604cff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,12 +32,16 @@ jobs: run: echo "HASH=$(git submodule | sha1sum)" >$GITHUB_OUTPUT - uses: actions/cache@v4 + id: cache-deps with: path: lib/obj/ # I swear to god, if runner.arch displays x64 for x86_64, I will eat a potato. # note: it is... fucking shit. key: ${{runner.os}}_${{runner.arch}}-lib/obj-${{steps.get-hash.outputs.HASH}} restore-keys: ${{runner.os}}_${{runner.arch}}-lib/obj- + - run: make -Bj libs + if: steps.cache-deps.outputs.cache-hit != 'true' + - run: make -j all - run: make -j test