From 7d42b4e1ec5cd6885dc9f6189deb5087d0af98af Mon Sep 17 00:00:00 2001 From: Shiyu Date: Thu, 12 Dec 2024 01:21:33 +0800 Subject: [PATCH] Cache clice in CI. (#11) --- .github/workflows/CI.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 954a81b3..a999d457 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,6 +25,16 @@ jobs: restore-keys: | submodules- + - name: Cache Clice + id: cache-clice + uses: actions/cache@v4 + with: + path: | + ./build/CMakeFiles/**/*.o + key: clice-${{ github.sha }} + restore-keys: | + clice- + - name: Update Submodules run: | git submodule init @@ -70,17 +80,3 @@ jobs: - name: Run tests run: ./build/bin/clice-tests --test-dir=./tests - - - - - - - - - - - - - -