Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 8a1b4f3

Browse files
authored
ci: cache build directory to allow for incremental builds
1 parent bc5e2e7 commit 8a1b4f3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
sudo apt-get install -y libfontconfig1-dev libfreetype-dev libjpeg-turbo8-dev libpng-dev libwebp-dev
2727
sudo apt-get install -y libharfbuzz-dev libicu-dev
2828
29+
- name: Cache build directory
30+
uses: actions/cache@v2
31+
with:
32+
path: build/
33+
key: ${{ runner.os }}-build-${{ hashFiles('**/CMakeLists.txt', '**/*.cpp') }}
34+
restore-keys: |
35+
${{ runner.os }}-build-
36+
2937
- name: 🏗️ Configure and build
3038
run: |
3139
mkdir -p build

0 commit comments

Comments
 (0)