summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 13b59c38b..eb92cdda1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -31,6 +31,7 @@ jobs:
sudo apt-get install --no-install-recommends -y
bison
build-essential
+ ccache
check
clang
flex
@@ -46,6 +47,12 @@ jobs:
pkg-config
wbritish # Needed for `/usr/share/dict/words`, used by test
+ - name: ccache
+ uses: hendrikmuhs/ccache-action@v1.2
+ with:
+ key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.compiler.vendor }}
+ max-size: 128M
+
- name: Build and install project libs
env:
CC: ${{ matrix.compiler.CC }}