From 4439333f58061063ec463ae2943ed79cd637afa2 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Sun, 1 May 2022 08:55:25 -0700 Subject: [PATCH] Adds ccache to build workflow (#2122) * Adds ccache to build workflow * Revises ccache actions cache key --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 252b97a43..e8506ae9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,7 @@ jobs: run: | sudo apt-get update sudo apt-get install \ + ccache \ libgtk2.0-0 \ libncursesw5 \ libsdl-image1.2-dev \ @@ -60,6 +61,11 @@ jobs: with: path: ~/DF key: ${{ steps.env_setup.outputs.df_version }} + - name: Fetch ccache + uses: actions/cache@v2 + with: + path: ~/.ccache + key: ccache-${{ matrix.os }}-gcc-${{ matrix.gcc }} - name: Download DF run: | sh ci/download-df.sh