.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-05-06 12:46:01 +02:00
parent 823d6c9c0f
commit 4ba288501d
2 changed files with 12 additions and 10 deletions

View File

@ -142,11 +142,6 @@ jobs:
- id: checkout
uses: actions/checkout@v4
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- uses: actions/setup-python@v5
with:
python-version: 3.x
@ -155,6 +150,7 @@ jobs:
run: |
brew install \
meson ninja \
ccache \
fmt \
googletest \
icu4c \
@ -173,6 +169,11 @@ jobs:
wavpack \
libmpdclient
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Configure
run: |
meson setup \

View File

@ -30,19 +30,20 @@ jobs:
- id: checkout
uses: actions/checkout@v4
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: android
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ninja-build \
ccache \
quilt
pip3 install --user meson==1.3.0
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: android
# todo: remove once NDK 27 is out of beta
- name: Install Beta NDK
run: |