Skip to content

Commit cf16191

Browse files
committed
cache sdl builds
1 parent 5f3fcfd commit cf16191

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Cache SDL
21+
uses: actions/cache@v4
22+
with:
23+
path: MacOS/frameworks/sdl
24+
key: sdl-macos-2.32.10-${{ runner.os }}-${{ runner.arch }}
25+
restore-keys: |
26+
sdl-macos-2.32.10-
27+
2028
- name: Install build dependencies
2129
run: |
2230
brew install cmake pkg-config nasm
@@ -42,6 +50,14 @@ jobs:
4250
steps:
4351
- uses: actions/checkout@v4
4452

53+
- name: Cache SDL
54+
uses: actions/cache@v4
55+
with:
56+
path: Windows/frameworks/sdl
57+
key: sdl-windows-2.32.10-${{ runner.os }}-${{ runner.arch }}
58+
restore-keys: |
59+
sdl-windows-2.32.10-
60+
4561
- name: Configures build environment for AMD64
4662
uses: ilammy/msvc-dev-cmd@v1
4763
with:

0 commit comments

Comments
 (0)