.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
|
- id: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: cache-ccache
|
|
||||||
uses: hendrikmuhs/ccache-action@v1
|
|
||||||
with:
|
|
||||||
key: macos
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
@ -155,6 +150,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew install \
|
brew install \
|
||||||
meson ninja \
|
meson ninja \
|
||||||
|
ccache \
|
||||||
fmt \
|
fmt \
|
||||||
googletest \
|
googletest \
|
||||||
icu4c \
|
icu4c \
|
||||||
|
@ -173,6 +169,11 @@ jobs:
|
||||||
wavpack \
|
wavpack \
|
||||||
libmpdclient
|
libmpdclient
|
||||||
|
|
||||||
|
- id: cache-ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1
|
||||||
|
with:
|
||||||
|
key: macos
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
meson setup \
|
meson setup \
|
||||||
|
|
|
@ -30,19 +30,20 @@ jobs:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: cache-ccache
|
|
||||||
uses: hendrikmuhs/ccache-action@v1
|
|
||||||
with:
|
|
||||||
key: android
|
|
||||||
|
|
||||||
- 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 \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
|
ccache \
|
||||||
quilt
|
quilt
|
||||||
pip3 install --user meson==1.3.0
|
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
|
# todo: remove once NDK 27 is out of beta
|
||||||
- name: Install Beta NDK
|
- name: Install Beta NDK
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue