.github/workflows/build.yml: install ccache manually
This eliminates the additionoal "apt-get install" call by ccache-action.
This commit is contained in:
parent
f8581c4d6a
commit
08810991c2
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user