Antoine Pitrou created ARROW-14880:
--------------------------------------
Summary: [C++][CI] Enable ccache on macOS CI builds
Key: ARROW-14880
URL: https://issues.apache.org/jira/browse/ARROW-14880
Project: Apache Arrow
Issue Type: Improvement
Components: C++, Continuous Integration
Reporter: Antoine Pitrou
We could install and enable ccache on macOS Github Actions jobs. It would
probably speed up a lot of builds.
Apparently ccache is available on Homebrew. Here is an example using it:
https://github.com/azerothcore/azerothcore-wotlk/blob/master/.github/workflows/macos_build.yml#L26-L33
{code:yaml}
- name: Cache
uses: actions/cache@v2
with:
path: ~/Library/Caches/ccache
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.os }}:${{ github.ref }}
ccache:${{ matrix.os }}
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)