.github/workflows/build.yml: install ccache manually
This eliminates the additionoal "apt-get install" call by ccache-action.
This commit is contained in:
parent
823d6c9c0f
commit
4ba288501d
|
@ -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 \
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue