| 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/[email protected] |
| 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 |
| 31 | |