Experimenting with build dep caching
@@ -21,6 +21,13 @@ jobs:
- run: git fetch --prune --unshallow
- run: sudo apt-get update
- run: sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libdbus-1-dev libudev-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev libxkbcommon-dev
+ - name: Cache dependancies
+ uses: actions/cache@v2
+ with:
+ path: ~/lib
+ key: ${{ runner.os }}-build
+ restore-keys: |
+ ${{ runner.os }}-build
- run: sudo apt-get install libsdl2-dev
if: ${{matrix.static == 0}}
- run: ./scripts/setup_static_linux_sdl.sh
