Skip to content

Commit 5ea3fac

Browse files
committed
Add ccache to CI
1 parent ae30918 commit 5ea3fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ jobs:
215215
echo "::set-output name=id::$(cat container_id)"
216216
- name: Install Alpine system dependencies
217217
if: ${{ matrix.libc == 'musl' }}
218-
run: docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar cmake clang
218+
run: docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar cmake clang ccache
219219
- name: Install Debian system dependencies
220220
if: ${{ matrix.libc == 'gnu' }}
221221
run: |
222222
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get update
223-
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get install -y cmake clang
223+
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get install -y cmake clang ccache
224224
- name: Install Debian cross-compiler
225225
if: ${{ matrix.libc == 'gnu' && matrix.platform != 'amd64' }}
226226
run: |

0 commit comments

Comments
 (0)