File tree Expand file tree Collapse file tree
actions/cache-apt-packages-action Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' Cache Apt Packages'
2+ description : ' Cache all commonly used apt packages to speed up CI jobs'
3+
4+ # imagemagick : convert, mogrify
5+ # xvfb : xvfb
6+ # openimageio-tools : idiff
7+ # libxcursor-dev libxi-dev : V gfx deps
8+ # libgl1-mesa-dri : For headless rendering on the CI / software DRI driver (LIBGL_ALWAYS_SOFTWARE=true)
9+ # freeglut3-dev : Fixes graphic apps compilation with tcc
10+ # sdl2 : needed for Puzzle Vibes & Chocolate Doom
11+ # libsodium-dev : needed for Gitly and C2V
12+
13+ runs :
14+ using : ' composite'
15+ steps :
16+ - uses : awalsh128/cache-apt-pkgs-action@v1.5.3
17+ with :
18+ version : 1.0
19+ packages : expect binutils postgresql sqlite3 clang valgrind \
20+ imagemagick openimageio-tools xvfb xsel xclip \
21+ libsodium-dev libpq-dev libssl-dev libsqlite3-dev \
22+ libfreetype6-dev libxi-dev libxcursor-dev \
23+ libgl-dev libxrandr-dev libasound2-dev \
24+ libx11-dev freeglut3-dev mesa-common-dev libgl1-mesa-dev libgl1-mesa-dri \
25+ libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-net-dev \
26+ libpng-dev libsamplerate0-dev \
27+ xfonts-75dpi xfonts-base
28+ - name : Install common packages
29+ run : echo "done installing packages"
30+ shell : bash
Original file line number Diff line number Diff line change 3333 timeout-minutes : 20
3434 steps :
3535 - uses : actions/checkout@v5
36- - uses : awalsh128/cache-apt-pkgs-action@v1.5.3
37- with :
38- packages : libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
39- version : 1.0
36+ - uses : ./.github/actions/cache-apt-packages-action
4037
4138 - name : Build V
4239 run : make && ./v symlink
You can’t perform that action at this time.
0 commit comments