.github/workflows/build.yml: install ccache manually

This eliminates the additionoal "apt-get install" call by
ccache-action.
This commit is contained in:
Max Kellermann 2024-04-16 11:39:22 +02:00
parent f8581c4d6a
commit 08810991c2

View File

@ -51,15 +51,13 @@ jobs:
steps: steps:
- id: checkout - id: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends \ sudo apt-get install -y --no-install-recommends \
${{ matrix.cxx }} ${{matrix.cc }} \ ${{ matrix.cxx }} ${{matrix.cc }} \
ccache \
libfmt-dev \ libfmt-dev \
libgtest-dev \ libgtest-dev \
libpcre2-dev \ libpcre2-dev \
@ -90,6 +88,11 @@ jobs:
libchromaprint-dev \ libchromaprint-dev \
libgcrypt20-dev libgcrypt20-dev
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
- name: Full Build - name: Full Build
uses: BSFishy/meson-build@v1.0.3 uses: BSFishy/meson-build@v1.0.3
with: with: