Adds ccache to build workflow (#2122)

* Adds ccache to build workflow

* Revises ccache actions cache key
develop
Josh Cooper 2022-05-01 08:55:25 -07:00 committed by GitHub
parent 5f1d2a08e4
commit 4439333f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

@ -29,6 +29,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install \ sudo apt-get install \
ccache \
libgtk2.0-0 \ libgtk2.0-0 \
libncursesw5 \ libncursesw5 \
libsdl-image1.2-dev \ libsdl-image1.2-dev \
@ -60,6 +61,11 @@ jobs:
with: with:
path: ~/DF path: ~/DF
key: ${{ steps.env_setup.outputs.df_version }} 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 - name: Download DF
run: | run: |
sh ci/download-df.sh sh ci/download-df.sh